Function: createWSClient()
createWSClient(
opts
):object
Parameters
Parameter | Type |
---|---|
opts | WebSocketClientOptions |
Returns
close
close: () => void
Returns
void
request
request: (op
, callbacks
) => UnsubscribeFn
Parameters
Parameter | Type |
---|---|
op | Operation |
callbacks | WSCallbackObserver < AnyRouter , unknown > |
Returns
UnsubscribeFn
connection
get
connection(): null
| Connection
Source
packages/client/src/links/wsLink.ts:80
Generated using TypeDoc and typedoc-plugin-markdown