Click or drag to resize

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
C#
public enum WebSocketState
Members
  Member nameValueDescription
Connecting0 Equivalent to numeric value 0. Indicates that the connection has not yet been established.
Open1 Equivalent to numeric value 1. Indicates that the connection has been established, and the communication is possible.
Closing2 Equivalent to numeric value 2. Indicates that the connection is going through the closing handshake, or the close method has been invoked.
Closed3 Equivalent to numeric value 3. Indicates that the connection has been closed or could not be established.
Remarks
The values of this enumeration are defined in The WebSocket API.
See Also