enum Poco::Net::WebSocket::SendFlags

Overview

Combined header flags and opcodes for use with sendFrame(). Moreā€¦

#include <WebSocket.h>

enum SendFlags
{
    FRAME_TEXT   = FRAME_FLAG_FIN | FRAME_OP_TEXT,
    FRAME_BINARY = FRAME_FLAG_FIN | FRAME_OP_BINARY,
};

Detailed Documentation

Combined header flags and opcodes for use with sendFrame().

Enum Values

FRAME_TEXT

Use this for sending a single text (UTF-8) payload frame.

FRAME_BINARY

Use this for sending a single binary payload frame.