Skip to main content
Version: 10.x

Function: createWSClient()

createWSClient(opts): object

Parameters

ParameterType
optsWebSocketClientOptions

Returns

close

close: () => void

Returns

void

request

request: (op, callbacks) => UnsubscribeFn

Parameters

ParameterType
opOperation
callbacksWSCallbackObserver< AnyRouter, unknown >

Returns

UnsubscribeFn

getConnection

getConnection

Source

packages/client/dist/links/wsLink.d.ts:18


Generated using TypeDoc and typedoc-plugin-markdown