Defines the different states a WebSockets instance can be in.
Syntax
public enum WebSocketState
Remarks
Members
Member Name | Description |
---|
Aborted |
Reserved for future use.
|
Closed |
Indicates the WebSocket close handshake completed gracefully.
|
CloseReceived |
A close message was received from the remote endpoint.
|
CloseSent |
A close message was sent to the remote endpoint.
|
Connecting |
The connection is negotiating the handshake with the remote endpoint.
|
None |
Reserved for future use.
|
Open |
The initial state after the HTTP handshake has been completed.
|
Requirements
Namespace: System.Net.WebSockets
Assembly: System (in System.dll)
Assembly Versions: 4.0.0.0