Saltar al contenido principal
Versión: 11.x

Function: httpLink()

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

Defined in: packages/client/dist/httpLink.d-BbSanXCY.d.mts:18

Type Parameters

Type ParameterDefault type
TRouter extends AnyRouterAnyRouter

Parameters

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

Returns

TRPCLink<TRouter>

See

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