WebSocketState Enumeration
.NET Framework (current version)
Defines the different states a WebSockets instance can be in.
Assembly: System (in System.dll)
| 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. |
.NET Framework
Available since 4.5
Available since 4.5
Show: