SocketState is used to record the status of the websocket connection.
The socket is gracefully closing; after this it will become Idle.
The socket is connection and data may be sent.
A connection attempt is currently being made.
A connection attempt has not been made yet.
The socket is reconnecting after closing unexpectedly.
Connect was called whilst the old socket was still open.
Generated using TypeDoc