Skip to main content
Version: 11.x

Function: httpLink()

httpLink<TRouter>(opts): TRPCLink< TRouter >

https://trpc.io/docs/client/links/httpLink

Type parameters

ParameterDefault
TRouter extends Router< any, any, TRouter >AnyRouter

Parameters

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

Returns

TRPCLink< TRouter >

Source

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


Generated using TypeDoc and typedoc-plugin-markdown