Skip to main content
Version: 11.x

Type Alias: WebSocketLinkOptions<TRouter>

WebSocketLinkOptions<TRouter>: object & TransformerOptions<inferClientTypes<TRouter>>

Type declaration

client

client: TRPCWebSocketClient

Type Parameters

Type Parameter
TRouter extends AnyRouter

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:114