Skip to main content
Version: 11.x

Function: unstable_httpSubscriptionLink()

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

Type Parameters

Type Parameter
TInferrable extends InferrableClientTypes
TEventSource extends AnyConstructor

Parameters

ParameterType
optsHTTPSubscriptionLinkOptions<inferClientTypes<TInferrable>, TEventSource>

Returns

TRPCLink<TInferrable>

See

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

Defined in

packages/client/dist/links/httpSubscriptionLink.d.ts:24