Skip to main content
Version: 11.x

Interface: HTTPLinkOptions

Extends

  • HTTPLinkBaseOptions

Properties

AbortController

optional AbortController: null | AbortControllerEsque

Add ponyfill for AbortController

Source

packages/client/dist/links/internals/httpUtils.d.ts:18

Inherited from

HTTPLinkBaseOptions.AbortController


fetch

optional fetch: FetchEsque

Add ponyfill for fetch

Source

packages/client/dist/links/internals/httpUtils.d.ts:14

Inherited from

HTTPLinkBaseOptions.fetch


headers

optional headers: HTTPHeaders | (opts) => HTTPHeaders | Promise< HTTPHeaders >

Headers to be set on outgoing requests or a callback that of said headers

http://trpc.io/docs/client/headers

Source

packages/client/dist/links/httpLink.d.ts:9


url

url: string | URL

Source

packages/client/dist/links/internals/httpUtils.d.ts:10

Inherited from

HTTPLinkBaseOptions.url


Generated using TypeDoc and typedoc-plugin-markdown