OpCode

Members

Static functions

isControlFrame
bool isControlFrame(byte opcode)
Undocumented in source. Be warned that the author may not have intended to support it.
isDataFrame
bool isDataFrame(byte opcode)
Undocumented in source. Be warned that the author may not have intended to support it.
isKnown
bool isKnown(byte opcode)

Test for known opcodes (per the RFC spec)

name
string name(byte opcode)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

BINARY
enum byte BINARY;

OpCode for a Binary Frame

CLOSE
enum byte CLOSE;

OpCode for a Close Frame

CONTINUATION
enum byte CONTINUATION;

OpCode for a Continuation Frame

PING
enum byte PING;

OpCode for a Ping Frame

PONG
enum byte PONG;

OpCode for a Pong Frame

TEXT
enum byte TEXT;

OpCode for a Text Frame

UNDEFINED
enum byte UNDEFINED;

An undefined OpCode

Meta