HttpBatchLinkOptions
Hierarchy
HTTPLinkBaseOptions
.HttpBatchLinkOptions
Properties
AbortController?
null
|AbortControllerEsque
Add ponyfill for AbortController
Inherited from: HTTPLinkBaseOptions.AbortController
Defined in: packages/client/src/links/internals/httpUtils.ts:24
fetch?
FetchEsque
Add ponyfill for fetch
Inherited from: HTTPLinkBaseOptions.fetch
Defined in: packages/client/src/links/internals/httpUtils.ts:20
headers?
HTTPHeaders
| (opts
: {opList
:NonEmptyArray
<Operation
<unknown
>>; }) =>HTTPHeaders
|Promise
<HTTPHeaders
>
Headers to be set on outgoing requests or a callback that of said headers
Link
http://trpc.io/docs/client/headers
Defined in: packages/client/src/links/httpBatchLink.ts:22
maxURLLength?
number
Defined in: packages/client/src/links/httpBatchLink.ts:17
url
string
Inherited from: HTTPLinkBaseOptions.url
Defined in: packages/client/src/links/internals/httpUtils.ts:16