Aller au contenu principal
Version : 11.x

Function: unstable_httpSubscriptionLink()

unstable_httpSubscriptionLink<TInferrable, TEventSource>(opts): TRPCLink<TInferrable>

Defined in: packages/client/dist/index.d.mts:149

Type Parameters​

Type Parameter
TInferrable extends InferrableClientTypes
TEventSource extends AnyConstructor

Parameters​

ParameterType
optsHTTPSubscriptionLinkOptions<inferClientTypes<TInferrable>, TEventSource>

Returns​

TRPCLink<TInferrable>

Deprecated​

use httpSubscriptionLink instead

See​

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