Type alias: HTTPLinkOptions<TRoot>
HTTPLinkOptions: <
TRoot
>HTTPLinkBaseOptions
<TRoot
> & {headers
:HTTPHeaders
| (opts
) =>HTTPHeaders
|Promise
<HTTPHeaders
>;}
HTTPLinkOptions.headers
optional
headers:HTTPHeaders
| (opts
) =>HTTPHeaders
|Promise
<HTTPHeaders
>Headers to be set on outgoing requests or a callback that of said headers
Link
Type parameters
Parameter |
---|
TRoot extends AnyRootTypes |
Source
packages/client/src/links/httpLink.ts:19
Generated using TypeDoc and typedoc-plugin-markdown