Package version:
Optional abortSignal of an abort controller. Can be used to abort both sending a network request and waiting for a response.
Optional bodyThe HTTP body contents of the request.
Optional decompressWhether or not to decompress response according to Accept-Encoding header (node-fetch only)
Optional formForm data, used to build the request body.
The HTTP headers to use when making the request.
Optional keepIf the connection should be reused.
The HTTP method to use when making the request.
Optional onCallback which fires upon download progress.
Callback which fires upon download progress.
Optional onCallback which fires upon upload progress.
Callback which fires upon upload progress.
Optional proxyProxy configuration.
Optional queryA query string represented as an object.
A unique identifier for the request. Used for logging and tracing.
Optional streamWhether or not the body of the HttpOperationResponse should be treated as a stream.
Use streamResponseStatusCodes property instead.
Optional streamA list of response status codes whose corresponding HttpOperationResponse body should be treated as a stream.
The number of milliseconds a request can take before automatically being terminated.
If the request is terminated, an AbortError is thrown.
The URL being accessed by the request.
If credentials (cookies) should be sent along during an XHR.
Generated using TypeDoc
A description of a HTTP request to be made to a remote server.