rembrembdocs

HTTPBatchLinkOptions<TRoot>: HTTPLinkBaseOptions<TRoot> & object

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

Type declaration

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

maxItems?

optional maxItems: number

Maximum number of calls in a single batch request

Default

ts

Infinity

maxURLLength?

optional maxURLLength: number

Type Parameters

Type Parameter

TRoot extends AnyClientTypes