WebsocketState

class WebsocketState

The state of the WebSocket connection.

Fields

class WebsocketState
CLOSED

The connection is completely closed down

CLOSING

The connection is in the process of closing down; messages may be received, but not sent

OPEN

The connection is ready to send messages