graphql-tools-monorepo / executors/http/src / HTTPExecutorOptions
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
Parameters
| Name | Type |
|---|---|
fileBits | BlobPart[] |
fileName | string |
options? | FilePropertyBag |
Returns
File
See
https://developer.mozilla.org/en-US/docs/Web/API/File
Type declaration
| Name | Type |
|---|---|
prototype | File |
Defined in
packages/executors/http/src/index.ts:76
FormData
• Optional FormData: Object
Call signature
• new FormData(form?, submitter?): FormData
WHATWG compatible FormData implementation
Parameters
| Name | Type |
|---|---|
form? | HTMLFormElement |
submitter? | null | HTMLElement |
Returns
FormData
See
https://developer.mozilla.org/en-US/docs/Web/API/FormData
Type declaration
| Name | Type |
|---|---|
prototype | FormData |
Defined in
packages/executors/http/src/index.ts:81
credentials
• Optional credentials: RequestCredentials
Request Credentials (default: 'same-origin')
See
https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials
Defined in
packages/executors/http/src/index.ts:67
endpoint
• Optional endpoint: string
Defined in
packages/executors/http/src/index.ts:45
fetch
• Optional fetch: FetchFn
Defined in
packages/executors/http/src/index.ts:46
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:54
method
• Optional method: "GET" | "POST"
HTTP method to use when querying the original schema.
Defined in
packages/executors/http/src/index.ts:58
retry
• Optional retry: number
Retry attempts
Defined in
packages/executors/http/src/index.ts:71
timeout
• Optional timeout: number
Timeout in milliseconds
Defined in
packages/executors/http/src/index.ts:62
useGETForQueries
• Optional useGETForQueries: boolean
Whether to use the GET HTTP method for queries when querying the original schema