createWSClient()
Signature
ts
createWSClient(opts: WebSocketClientOptions): object;
ts
createWSClient(opts: WebSocketClientOptions): object;
Parameters
Name | Type |
---|---|
opts | WebSocketClientOptions |
Returns
object
Member | Type |
---|---|
close | () => void |
request | (op : Operation , callbacks : WSCallbackObserver <AnyRouter , unknown >) => UnsubscribeFn |
getConnection | Method getConnection |
Defined in: packages/client/dist/links/wsLink.d.ts:18