Skip to main content
Version: 11.x

Type Alias: HTTPBatchLinkOptions<TRoot>

HTTPBatchLinkOptions<TRoot>: HTTPLinkBaseOptions<TRoot> & object

Type declaration

headers?

optional headers: HTTPHeaders | (opts) => HTTPHeaders | Promise<HTTPHeaders>

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

See

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

maxURLLength?

optional maxURLLength: number

Type Parameters

Type Parameter
TRoot extends AnyClientTypes

Defined in

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