Interface: HTTPExecutorOptions
executors/http/src.HTTPExecutorOptions
Hierarchy
-
HTTPExecutorOptions
Table of contents
Properties
Properties
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:61
endpoint
• Optional
endpoint: string
Defined in
packages/executors/http/src/index.ts:39
fetch
• Optional
fetch: FetchFn
Defined in
packages/executors/http/src/index.ts:40
headers
• Optional
headers: HeadersConfig
Additional headers to include when querying the original schema
Defined in
packages/executors/http/src/index.ts:48
method
• Optional
method: "GET"
| "POST"
HTTP method to use when querying the original schema.
Defined in
packages/executors/http/src/index.ts:52
retry
• Optional
retry: number
Retry attempts
Defined in
packages/executors/http/src/index.ts:65
timeout
• Optional
timeout: number
Timeout in milliseconds
Defined in
packages/executors/http/src/index.ts:56
useGETForQueries
• Optional
useGETForQueries: boolean
Whether to use the GET HTTP method for queries when querying the original schema