1.7.3.12 SYS_WSS_FRAME Enum

C

typedef enum {
    SYS_WSS_FRAME_CONTINUATION = 0x00, //Continuation frame - Data frame with opcode 0
    SYS_WSS_FRAME_TEXT = 0x01, //Text data frame - Data frame with opcode 1
    SYS_WSS_FRAME_BINARY = 0x02, //Binary data frame - Data frame with opcode 2
    SYS_WSS_FRAME_CLOSE = 0x08, //Connection close frame - Control frame with opcode 8
    SYS_WSS_FRAME_PING = 0x09, //Ping frame - Ping frame with opcode 9
    SYS_WSS_FRAME_PONG = 0x0A //Pong frame - Pong frame with opcode 10
} SYS_WSS_FRAME;

Summary

The supported frames (control and data) as defined in RFC 6455 Section 5.

Remarks

None.