WebSocketError Enum
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9083)
Defines error codes for WebSocketException class.
Syntax
public enum WebSocketError
Fields
Name | Description |
---|---|
ConnectionClosedPrematurely | Connection has termination unexpectedly. |
Faulted | A general error has occurred. |
HeaderError | Error while parsing HTML headers during opening handshake. |
InvalidMessageType | WebSocket message with invalid message type encountered. |
InvalidState | The WebSocket is in invalid state to execute the specified operation. |
NotAWebSocket | The request is not a WebSocket request. |
Success | Success. Errors with this error code should never occur. |
UnsupportedProtocol | Unsupported subprotocol. |
UnsupportedVersion | Unsupported WebSocket version. |