Interface: RequestOptions
Override options for a request.
Hierarchy
↳
RequestOptions
Properties
body
• Optional body: string
The request body.
Defined in
method
• Optional method: HttpMethod
The request method.
Defined in
cache
• Optional cache: boolean
Whether to cache this response.
Inherited from
Defined in
force
• Optional force: boolean
Whether to skip the cache check and request the API.
Inherited from
Defined in
retryLimit
• Optional retryLimit: number
How many times to retry on 5XX errors.
Inherited from
Defined in
ignoreRateLimit
• Optional ignoreRateLimit: boolean
Whether to ignore throttlers.
Inherited from
OverrideOptions.ignoreRateLimit
Defined in
restRequestTimeout
• Optional restRequestTimeout: number
Time to wait before cancelling a REST request, in milliseconds.
Inherited from
OverrideOptions.restRequestTimeout