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< AnyRouterDef< AnyRootConfig >, TRouter >

Parameters

ParameterType
optsHTTPLinkOptions

Returns

TRPCLink< TRouter >

Source

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

Source

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


Generated using TypeDoc and typedoc-plugin-markdown