Skip to main content
Version: 11.x

Function: httpLink()

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

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

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


Generated using TypeDoc and typedoc-plugin-markdown