Skip to main content
Version: 11.x

Function: unstable_httpSubscriptionLink()

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

Defined in: packages/client/src/links/httpSubscriptionLink.ts:245

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