WebsocketConnection.getState

soup.types.WebsocketState getState() nothrow

Get the current state of the WebSocket.

Returns

the state