Table of Contents

Enum WebSocketState

Namespace
WitShells.WebSocket

Represents the current state of the WebSocket connection.

public enum WebSocketState

Fields

Closed = 4

Connection has been closed

Closing = 3

Connection is being closed

Connecting = 1

Connection is being established

Error = 5

An error occurred during connection or communication

None = 0

No connection has been initiated

Open = 2

Connection is open and ready for communication