used to send emitted websocket events data.
reconnectIntervalInMs in millisecond, maxReconnectAttempts in number and ws url
Use to attempt to reconnect to the web socket worker
used to broadcast the message to other tabs.
message to broadcast
This method to perform the different actions on callback response
used to unsubscribe events and clear props.
used to connect to the socket.
websocketServer uri
used to unsubscribe and disconnect to socket events.
Use to initializing the web socket worker and will return the method inside the worker
callback for when the socket closed.
callback for when error received
callback for when message received
Callback method when a connection is open and ready to send and receive data
Callback method when a ws reconnect attempts in progress
Callback method when a ws reconnect attempts are completed
Callback method when a ws reconnect attempts was successful
used to Reconnect to the socket.
used to send heart beat to socket.
Method to send to websocket worker
message send to websocket
Used to open the webSocket data and subscribe to it.
used to subscribe to socket events.
topic to subscribe
Use to terminate the web socket worker
Generated using TypeDoc
web socket class for auto summary