Skip to main content
Version: 10.x

Interface: HTTPLinkOptions

Extends

  • HTTPLinkBaseOptions

Properties

AbortController

optional AbortController: null | AbortControllerEsque

Add ponyfill for AbortController

Source

packages/client/src/links/internals/httpUtils.ts:28

Inherited from

HTTPLinkBaseOptions.AbortController


fetch

optional fetch: FetchEsque

Add ponyfill for fetch

Source

packages/client/src/links/internals/httpUtils.ts:24

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/src/links/httpLink.ts:19


url

url: string

Source

packages/client/src/links/internals/httpUtils.ts:20

Inherited from

HTTPLinkBaseOptions.url


Generated using TypeDoc and typedoc-plugin-markdown