OperationRequestOptions interface

Options used when creating and sending HTTP requests for this operation.

Properties

allowInsecureConnection

Set to true if the request is sent over HTTP instead of HTTPS

headers

User defined custom request headers that will be applied before the request is sent.

onDownloadProgress

Callback which fires upon download progress.

onUploadProgress

Callback which fires upon upload progress.

skipUrlEncoding

Set to true if you want to skip encoding the path parameters

timeout

The number of milliseconds a request can take before automatically being terminated.

Property Details

allowInsecureConnection

Set to true if the request is sent over HTTP instead of HTTPS

allowInsecureConnection?: boolean

Property Value

boolean

headers

User defined custom request headers that will be applied before the request is sent.

headers?: RawHttpHeadersInput

Property Value

onDownloadProgress

Callback which fires upon download progress.

onDownloadProgress?: (progress: TransferProgressEvent) => void

Property Value

(progress: TransferProgressEvent) => void

onUploadProgress

Callback which fires upon upload progress.

onUploadProgress?: (progress: TransferProgressEvent) => void

Property Value

(progress: TransferProgressEvent) => void

skipUrlEncoding

Set to true if you want to skip encoding the path parameters

skipUrlEncoding?: boolean

Property Value

boolean

timeout

The number of milliseconds a request can take before automatically being terminated.

timeout?: number

Property Value

number