HttpServerBoxed 0.0.11 alpha
A simple http server for C# and .NET
Loading...
Searching...
No Matches
HSB.Constants.WebSocket Namespace Reference

Classes

class  WebSocketsContants
 

Enumerations

enum  WebSocketState { CONNECTING = 0 , OPEN = 1 , CLOSING = 2 , CLOSED = 3 }
 
enum  Opcode {
  CONTINUATION = 0 , TEXT = 1 , BINARY = 2 , CLOSE = 8 ,
  PING = 9 , PONG = 10
}
 The opcodes for the WebSocket protocol. More...
 

Enumeration Type Documentation

◆ Opcode

The opcodes for the WebSocket protocol.

opcodes 3-7 are reserved for further non-control frames

Definition at line 7 of file WSOpcodes.cs.

8{
9 CONTINUATION = 0,
10 TEXT = 1,
11 BINARY = 2,
12 CLOSE = 8,
13 PING = 9,
14 PONG = 10
15}

◆ WebSocketState

enum HSB.Constants.WebSocket.WebSocketState

Definition at line 3 of file WebSocketState.cs.

4{
5 CONNECTING = 0,
6 OPEN = 1,
7 CLOSING = 2,
8 CLOSED = 3
9}