WebSocketState Enumeration |
Indicates the state of a WebSocket connection.
Namespace:
Sfs2X.WebSocketSharp
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public enum WebSocketState
Members
| Member name | Value | Description |
---|
| Connecting | 0 |
Equivalent to numeric value 0. Indicates that the connection has not
yet been established.
|
| Open | 1 |
Equivalent to numeric value 1. Indicates that the connection has
been established, and the communication is possible.
|
| Closing | 2 |
Equivalent to numeric value 2. Indicates that the connection is
going through the closing handshake, or the close method has
been invoked.
|
| Closed | 3 |
Equivalent to numeric value 3. Indicates that the connection has
been closed or could not be established.
|
Remarks See Also