Interface: HTTPExecutorOptions
executors/http/src.HTTPExecutorOptions
Hierarchy
-
HTTPExecutorOptions
Table of contents
Properties
Properties
File
• Optional File: Object
Call signature
• new File(fileBits, fileName, options?): File
WHATWG compatible File implementation
See
https://developer.mozilla.org/en-US/docs/Web/API/File (opens in a new tab)
Parameters
| Name | Type |
|---|---|
fileBits | BlobPart[] |
fileName | string |
options? | FilePropertyBag |
Returns
File
Type declaration
| Name | Type |
|---|---|
prototype | File |
Defined in
packages/executors/http/src/index.ts:71 (opens in a new tab)
FormData
• Optional FormData: Object
Call signature
• new FormData(form?): FormData
WHATWG compatible FormData implementation
See
https://developer.mozilla.org/en-US/docs/Web/API/FormData (opens in a new tab)
Parameters
| Name | Type |
|---|---|
form? | HTMLFormElement |
Returns
FormData
Type declaration
| Name | Type |
|---|---|
prototype | FormData |
Defined in
packages/executors/http/src/index.ts:76 (opens in a new tab)
credentials
• Optional credentials: RequestCredentials
Request Credentials (default: 'same-origin')
See
https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials (opens in a new tab)
Defined in
packages/executors/http/src/index.ts:62 (opens in a new tab)
endpoint
• Optional endpoint: string
Defined in
packages/executors/http/src/index.ts:40 (opens in a new tab)
fetch
• Optional fetch: FetchFn
Defined in
packages/executors/http/src/index.ts:41 (opens in a new tab)
headers
• Optional headers: HeadersConfig | (executorRequest?: ExecutionRequest<any, any, any, Record<string, any>, any>) => HeadersConfig
Additional headers to include when querying the original schema
Defined in
packages/executors/http/src/index.ts:49 (opens in a new tab)
method
• Optional method: "GET" | "POST"
HTTP method to use when querying the original schema.
Defined in
packages/executors/http/src/index.ts:53 (opens in a new tab)
retry
• Optional retry: number
Retry attempts
Defined in
packages/executors/http/src/index.ts:66 (opens in a new tab)
timeout
• Optional timeout: number
Timeout in milliseconds
Defined in
packages/executors/http/src/index.ts:57 (opens in a new tab)
useGETForQueries
• Optional useGETForQueries: boolean
Whether to use the GET HTTP method for queries when querying the original schema
Defined in
packages/executors/http/src/index.ts:45 (opens in a new tab)