Skip to main content
Version: 10.x

Interface: HTTPBatchLinkOptions

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


maxURLLength

optional maxURLLength: number

Source

packages/client/dist/links/HTTPBatchLinkOptions.d.ts:5


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