Type Alias: HTTPBatchLinkOptions<TRoot>
HTTPBatchLinkOptions<
TRoot>:HTTPLinkBaseOptions<TRoot> &object
Defined in: packages/client/dist/httpBatchLink.d-VqJm9adv.d.mts:7
Type declaration
headers?
optionalheaders: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?
optionalmaxItems:number
Maximum number of calls in a single batch request
Default
tsInfinity
tsInfinity
maxURLLength?
optionalmaxURLLength:number
Type Parameters
| Type Parameter |
|---|
TRoot extends AnyClientTypes |