Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebSocketError Enum

Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9147)

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.

In This Article
  • Fields
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies