C-DEngine 5.105

WebSocketState Enumeration

Indicates the state of a WebSocket connection.

Namespace:  WebSocketSharp
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public enum WebSocketState
Public Enumeration WebSocketState
public enum class WebSocketState

Members


Member nameDescription
Connecting Equivalent to numeric value 0. Indicates that the connection hasn't yet been established.
Open Equivalent to numeric value 1. Indicates that the connection has been established, and the communication is possible.
Closing Equivalent to numeric value 2. Indicates that the connection is going through the closing handshake, or the WebSocket.Close method has been invoked.
Closed Equivalent to numeric value 3. Indicates that the connection has been closed or couldn't be established.

Remarks


The values of this enumeration are defined in The WebSocket API.