WebSocketOpcode Enumeration |
Contains the values of the opcode that indicates the type of a WebSocket frame.
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public enum WebSocketOpcode
Public Enumeration WebSocketOpcode
public enum class WebSocketOpcode
Members
| Member name | Value | Description |
---|
| Cont | 0 |
Equivalent to numeric value 0.
Indicates a continuation frame.
|
| Text | 1 |
Equivalent to numeric value 1.
Indicates a text frame.
|
| Binary | 2 |
Equivalent to numeric value 2.
Indicates a binary frame.
|
| Close | 8 |
Equivalent to numeric value 8.
Indicates a connection close frame.
|
| Ping | 9 |
Equivalent to numeric value 9.
Indicates a ping frame.
|
| Pong | 10 |
Equivalent to numeric value 10.
Indicates a pong frame.
|
Remarks
The values of the opcode are defined in
Section 5.2 of RFC 6455.
See Also