Function: wsLink()
wsLink<
TRouter
>(opts
):TRPCLink
<TRouter
>
See
https://trpc.io/docs/client/links/wsLink
Type parameters
Parameter |
---|
TRouter extends Router < AnyRouterDef < AnyRootConfig , any >, TRouter > |
Parameters
Parameter | Type |
---|---|
opts | WebSocketLinkOptions |
Returns
TRPCLink
< TRouter
>
Source
packages/client/src/links/wsLink.ts:319
Generated using TypeDoc and typedoc-plugin-markdown