enum Poco::Net::WebSocket::FrameOpcodes

Overview

Frame header opcodes. Moreā€¦

#include <WebSocket.h>

enum FrameOpcodes
{
    FRAME_OP_CONT    = 0x00,
    FRAME_OP_TEXT    = 0x01,
    FRAME_OP_BINARY  = 0x02,
    FRAME_OP_CLOSE   = 0x08,
    FRAME_OP_PING    = 0x09,
    FRAME_OP_PONG    = 0x0a,
    FRAME_OP_BITMASK = 0x0f,
    FRAME_OP_SETRAW  = 0x100,
};

Detailed Documentation

Frame header opcodes.

Enum Values

FRAME_OP_CONT

Continuation frame.

FRAME_OP_TEXT

Text frame.

FRAME_OP_BINARY

Binary frame.

FRAME_OP_CLOSE

Close connection.

FRAME_OP_PING

Ping frame.

FRAME_OP_PONG

Pong frame.

FRAME_OP_BITMASK

Bit mask for opcodes.

FRAME_OP_SETRAW

Set raw flags (for use with sendBytes() and FRAME_OP_CONT).