The HTTP body contents of the request.
Whether or not to decompress response according to Accept-Encoding header (node-fetch only)
The HTTP headers to use when making the request.
If the connection should be reused.
The HTTP method to use when making the request.
Callback which fires upon download progress.
Callback which fires upon upload progress.
A function that returns the proper OperationResponse for the given OperationSpec and HttpOperationResponse combination. If this is undefined, then a simple status code lookup will be used.
Used to parse the response.
Proxy configuration.
A query string represented as an object.
A unique identifier for the request. Used for logging and tracing.
Whether or not the HttpOperationResponse should be deserialized. If this is undefined, then the HttpOperationResponse should be deserialized.
Options used to create a span when tracing is enabled.
Whether or not the body of the HttpOperationResponse 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.
Clone this request object.
Sets options on the request.
Validates that the required properties such as method, url, headers["Content-Type"], headers["accept-language"] are defined. It will throw an error if one of the above mentioned properties are not defined.
Generated using TypeDoc
Used to abort the request later.