Skip to main content
Version: 10.x

Interface: HTTPBatchStreamLinkOptions

Extends

Properties

AbortController

optional AbortController: null | AbortControllerEsque

Add ponyfill for AbortController

Source

packages/client/src/links/internals/httpUtils.ts:28

Inherited from

HTTPBatchLinkOptions.AbortController


fetch

optional fetch: FetchEsque

Add ponyfill for fetch

Source

packages/client/src/links/internals/httpUtils.ts:24

Inherited from

HTTPBatchLinkOptions.fetch


headers

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

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

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

Source

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

Inherited from

HTTPBatchLinkOptions.headers


maxURLLength

optional maxURLLength: number

Source

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

Inherited from

HTTPBatchLinkOptions.maxURLLength


textDecoder

optional textDecoder: TextDecoderEsque

Will default to the webAPI TextDecoder, but you can use this option if your client runtime doesn't provide it.

Source

packages/client/src/links/httpBatchStreamLink.ts:18


url

url: string

Source

packages/client/src/links/internals/httpUtils.ts:20

Inherited from

HTTPBatchLinkOptions.url


Generated using TypeDoc and typedoc-plugin-markdown