Constructors
constructor
- new WebsocketClient(baseUrl?: undefined | string, onError?: undefined | function): WebsocketClient
-
Parameters
-
Optional baseUrl: undefined | string
-
Optional onError: undefined | function
Methods
connected
- connected(): Promise<void>
Protected responseForRequestId
Resolves as soon as websocket is connected. execute() queues requests automatically, so this should be required for testing purposes only.