Skip to main content
Version: 10.x

HttpBatchLinkOptions

Hierarchy

  • HTTPLinkOptions.HttpBatchLinkOptions

Properties

AbortController?

null | AbortControllerEsque

Add ponyfill for AbortController

Inherited from: HTTPLinkOptions.AbortController

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

fetch?

FetchEsque

Add ponyfill for fetch

Inherited from: HTTPLinkOptions.fetch

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

headers?

HTTPHeaders | () => HTTPHeaders | Promise<HTTPHeaders>

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

http://trpc.io/docs/v10/header

Inherited from: HTTPLinkOptions.headers

Defined in: packages/client/dist/links/internals/httpUtils.d.ts:19

maxURLLength?

number

Defined in: packages/client/dist/links/httpBatchLink.d.ts:5

url

string

Inherited from: HTTPLinkOptions.url

Defined in: packages/client/dist/links/internals/httpUtils.d.ts:6