HTTPRequestOptions
Defined in: domains/http.ts:16
Extends
Section titled “Extends”Properties
Section titled “Properties”headers?
Section titled “headers?”optional headers?: Record<string, string>;Defined in: domains/http.ts:9
Additional request headers.
Inherited from
Section titled “Inherited from”timeout?
Section titled “timeout?”optional timeout?: number;Defined in: domains/http.ts:11
Request timeout in milliseconds. Defaults to 30000.
Inherited from
Section titled “Inherited from”responseType?
Section titled “responseType?”optional responseType?: HTTPResponseType;Defined in: domains/http.ts:13
Expected response format. Defaults to 'json'.
Inherited from
Section titled “Inherited from”method?
Section titled “method?”optional method?: HTTPMethod;Defined in: domains/http.ts:17
optional body?: unknown;Defined in: domains/http.ts:18