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/src/links/internals/httpUtils.ts:21

fetch?

FetchEsque

Add ponyfill for fetch

Inherited from: HTTPLinkOptions.fetch

Defined in: packages/client/src/links/internals/httpUtils.ts:17

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/src/links/internals/httpUtils.ts:26

maxURLLength?

number

Defined in: packages/client/src/links/httpBatchLink.ts:16

url

string

Inherited from: HTTPLinkOptions.url

Defined in: packages/client/src/links/internals/httpUtils.ts:13