namespace EmbedIO.WebSockets
{
///
/// Indicates the WebSocket frame type.
///
///
/// The values of this enumeration are defined in
///
/// Section 5.2 of RFC 6455.
///
public enum Opcode : byte
{
///
/// Equivalent to numeric value 0. Indicates continuation frame.
///
Cont = 0x0,
///
/// Equivalent to numeric value 1. Indicates text frame.
///
Text = 0x1,
///
/// Equivalent to numeric value 2. Indicates binary frame.
///
Binary = 0x2,
///
/// Equivalent to numeric value 8. Indicates connection close frame.
///
Close = 0x8,
///
/// Equivalent to numeric value 9. Indicates ping frame.
///
Ping = 0x9,
///
/// Equivalent to numeric value 10. Indicates pong frame.
///
Pong = 0xa,
}
}