Enumeration WebsocketEvent

Events that can be fired by the websocket.

Enumeration Members

Enumeration Members

close: "close"

Fired when the connection is closed.

error: "error"

Fired when the connection has been closed because of an error, such as when some data couldn't be sent.

message: "message"

Fired when a message is received.

open: "open"

Fired when the connection is opened.

reconnect: "reconnect"

Fired when the websocket successfully reconnects after a connection loss.

retry: "retry"

Fired when the websocket tries to reconnect after a connection loss.

Generated using TypeDoc