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 AnyRouter

Parameters

ParameterType
optsHTTPLinkOptions

Returns

TRPCLink< TRouter >

Source

packages/client/dist/links/httpLink.d.ts:13


Generated using TypeDoc and typedoc-plugin-markdown