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 (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
<Record
<string
, any
>, any
, any
, Record
<string
, 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)