Skip to main content
Version: 10.x

HttpBatchLinkOptions

Hierarchy

  • HTTPLinkBaseOptions.HttpBatchLinkOptions

Properties

AbortController?

null | AbortControllerEsque

Add ponyfill for AbortController

Inherited from: HTTPLinkBaseOptions.AbortController

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

fetch?

FetchEsque

Add ponyfill for fetch

Inherited from: HTTPLinkBaseOptions.fetch

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

headers?

HTTPHeaders | (opts: { opList: NonEmptyArray<Operation<unknown>>; }) => HTTPHeaders | Promise<HTTPHeaders>

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

http://trpc.io/docs/client/headers

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

maxURLLength?

number

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

url

string

Inherited from: HTTPLinkBaseOptions.url

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