Function: wsLink()
wsLink<
TRouter
>(opts
):TRPCLink
<TRouter
>
Type Parameters
Type Parameter |
---|
TRouter extends AnyRouter |
Parameters
Parameter | Type |
---|---|
opts | WebSocketLinkOptions <TRouter > |
Returns
TRPCLink
<TRouter
>
See
https://trpc.io/docs/v11/client/links/wsLink
Deprecated
🙋♂️ Contributors needed to continue supporting WebSockets! See https://github.com/trpc/trpc/issues/6109
Defined in
packages/client/dist/links/wsLink.d.ts:123