EGDL2 2.1
|
Classes | |
class | CloseEventArgs |
Contains the event data associated with a WebSocket.OnClose event. More... | |
class | ErrorEventArgs |
Contains the event data associated with a WebSocket.OnError event. More... | |
class | Ext |
Provides a set of static methods for the websocket-sharp. More... | |
class | LogData |
Represents a log data used by the Logger class. More... | |
class | Logger |
Provides a set of methods and properties for logging. More... | |
class | MessageEventArgs |
Contains the event data associated with a WebSocket.OnMessage event. More... | |
class | WebSocket |
Implements the WebSocket interface. More... | |
class | WebSocketException |
The exception that is thrown when a WebSocket gets a fatal error. More... | |
Enumerations | |
enum | ByteOrder : byte { Little , Big } |
Contains the values that indicate whether the byte order is a Little-endian or Big-endian. More... | |
enum | CloseStatusCode : ushort { Normal = 1000 , Away = 1001 , ProtocolError = 1002 , IncorrectData = 1003 , Undefined = 1004 , NoStatusCode = 1005 , Abnormal = 1006 , InconsistentData = 1007 , PolicyViolation = 1008 , TooBig = 1009 , IgnoreExtension = 1010 , ServerError = 1011 , TlsHandshakeFailure = 1015 } |
Contains the values of the status code for the WebSocket connection close. More... | |
enum | CompressionMethod : byte { None , Deflate } |
Contains the values of the compression method used to compress the message on the WebSocket connection. More... | |
enum | LogLevel { Trace , Debug , Info , Warn , Error , Fatal } |
Contains the values of the logging level. More... | |
enum | Opcode : byte { Cont = 0x0 , Text = 0x1 , Binary = 0x2 , Close = 0x8 , Ping = 0x9 , Pong = 0xa } |
Contains the values of the opcode that indicates the type of a WebSocket frame. More... | |
enum | WebSocketState : ushort { Connecting = 0 , Open = 1 , Closing = 2 , Closed = 3 } |
Contains the values of the state of the WebSocket connection. More... | |
enum WebSocketSharp.ByteOrder : byte |
enum WebSocketSharp.CloseStatusCode : ushort |
Contains the values of the status code for the WebSocket connection close.
The values of the status code are defined in Section 7.4
of RFC 6455.
"Reserved value" must not be set as a status code in a close control frame by an endpoint. It's designated for use in applications expecting a status code to indicate that the connection was closed due to the system grounds.
enum WebSocketSharp.CompressionMethod : byte |
Contains the values of the logging level.
enum WebSocketSharp.Opcode : byte |
Contains the values of the opcode that indicates the type of a WebSocket frame.
The values of the opcode are defined in Section 5.2
of RFC 6455.
enum WebSocketSharp.WebSocketState : ushort |
Contains the values of the state of the WebSocket connection.
The values of the state are defined in The WebSocket API
.