This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge abort Signal

Signal of an abort controller. Can be used to abort both sending a network request and waiting for a response.

The HTTP body contents of the request.

decompress Response

Whether or not to decompress response according to Accept-Encoding header (node-fetch only)

form Data

Form data, used to build the request body.

headers

The HTTP headers to use when making the request.

keep Alive

If the connection should be reused.

method

The HTTP method to use when making the request.

on Download Progress

Callback which fires upon download progress.

on Upload Progress

Callback which fires upon upload progress.

proxy Settings

Proxy configuration.

query

A query string represented as an object.

request Id

A unique identifier for the request. Used for logging and tracing.

stream Response Body

Whether or not the body of the HttpOperationResponse should be treated as a stream.

stream Response Status Codes

A list of response status codes whose corresponding HttpOperationResponse body should be treated as a stream.

timeout

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.

with Credentials

If credentials (cookies) should be sent along during an XHR.

Signal of an abort controller. Can be used to abort both sending a network request and waiting for a response.

abortSignal?: AbortSignalLike

Property Value

AbortSignalLike

Whether or not to decompress response according to Accept-Encoding header (node-fetch only)

decompressResponse?: boolean

Property Value

boolean

A list of response status codes whose corresponding HttpOperationResponse body should be treated as a stream.

streamResponseStatusCodes?: Set<number>

Property Value

Set<number>

The number of milliseconds a request can take before automatically being terminated. If the request is terminated, an AbortError is thrown.

timeout: number

Property Value

number