WebsocketConnection.getState

Get the current state of the WebSocket.

Returns

the state