Function: httpSubscriptionLink()
On this page
httpSubscriptionLink<
TInferrable,TEventSource>(opts):TRPCLink<TInferrable>
Defined in: packages/client/src/links/httpSubscriptionLink.ts:74
A terminating link that runs subscriptions over Server-Sent Events.
Type Parameters
| Type Parameter |
|---|
TInferrable extends InferrableClientTypes |
TEventSource extends AnyConstructor |
Parameters
| Parameter | Type |
|---|---|
opts | HTTPSubscriptionLinkOptions<inferClientTypes<TInferrable>, TEventSource> |
Returns
TRPCLink<TInferrable>