WebSocketError Enumeration
Contains the list of possible WebSocket errors.
Assembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
| ConnectionClosedPrematurely | Indicates that the connection was terminated unexpectedly. | |
| Faulted | Indicates a general error. | |
| HeaderError | Indicates an error occurred when parsing the HTTP headers during the opening handshake. | |
| InvalidMessageType | Indicates that a WebSocket frame with an unknown opcode was received. | |
| InvalidState | Indicates the WebSocket is an invalid state for the given operation (such as being closed or aborted). | |
| NativeError | Indicates that an unknown native error occurred. | |
| NotAWebSocket | Indicates that the incoming request was not a valid websocket request. | |
| Success | Indicates that there was no native error information for the exception. | |
| UnsupportedProtocol | Indicates that the client requested an unsupported WebSocket subprotocol. | |
| UnsupportedVersion | Indicates that the client requested an unsupported version of the WebSocket protocol. |
Available since 4.5