Enum WebSocketState
Represents the current state of the WebSocket connection.
public enum WebSocketState
Fields
Closed = 4Connection has been closed
Closing = 3Connection is being closed
Connecting = 1Connection is being established
Error = 5An error occurred during connection or communication
None = 0No connection has been initiated
Open = 2Connection is open and ready for communication