Defines error codes for WebSocketException class.

Namespace:  Rebex.Net
Assembly:  Rebex.WebSocket (in Rebex.WebSocket.dll)

Syntax

Visual Basic
Public Enumeration WebSocketError
C#
public enum WebSocketError

Members

Member nameDescription
Supported by the .NET Compact FrameworkSuccess
Success. Errors with this error code should never occur.
Supported by the .NET Compact FrameworkInvalidMessageType
WebSocket message with invalid message type encountered.
Supported by the .NET Compact FrameworkFaulted
A general error has occured.
Supported by the .NET Compact FrameworkNotAWebSocket
The request is not a WebSocket request.
Supported by the .NET Compact FrameworkUnsupportedVersion
Unsupported WebSocket version.
Supported by the .NET Compact FrameworkUnsupportedProtocol
Unsupported subprotocol.
Supported by the .NET Compact FrameworkHeaderError
Error while parsing HTML headers during opening handshake.
Supported by the .NET Compact FrameworkConnectionClosedPrematurely
Connection has termination unexpectedly.
Supported by the .NET Compact FrameworkInvalidState
The WebSocket is in invalid state to execute the specified operation.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also