Skip to main content
Version: 10.x

Interface: HTTPBatchLinkOptions

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/HTTPBatchLinkOptions.ts:11


maxURLLength

optional maxURLLength: number

Source

packages/client/src/links/HTTPBatchLinkOptions.ts:6


url

url: string | URL

Source

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

Inherited from

HTTPLinkBaseOptions.url


Generated using TypeDoc and typedoc-plugin-markdown