Skip to main content
Version: 11.x

Function: httpLinkFactory()

httpLinkFactory(factoryOpts): <TRouter>(opts) => TRPCLink< TRouter >

Parameters

ParameterType
factoryOptsobject
factoryOpts.requesterRequester

Returns

<TRouter>(opts): TRPCLink< TRouter >

Type parameters

Parameter
TRouter extends Router< any, any, TRouter >

Parameters

ParameterType
optsHTTPLinkOptions< TRouter["_def"][`"_config"`]["$types"] >

Returns

TRPCLink< TRouter >

Source

packages/client/src/links/httpLink.ts:31

Source

packages/client/src/links/httpLink.ts:30


Generated using TypeDoc and typedoc-plugin-markdown