WebSocketClient constructor
The WebSocket endpoint URL on the Tendermint RPC server. Ex: ws://localhost:26657/websocket
0 for not to attempt reconnect, -1 for infinite, > 0 for number of times to attempt
retry interval in milliseconds
Destroys class as well as socket
An object repesenting a connection to a Terra node's WebSocket RPC endpoint. This allows for subscribing to Tendermint events through WebSocket.
Events
Example