My Project
Public Member Functions | List of all members
NPL::WebSocket::WebSocketFrame Class Reference

Public Member Functions

std::vector< byte > & getMask ()
 
byte getOpCode ()
 
ByteBuffer getPayload ()
 
int getPayloadLength ()
 
bool isMasked ()
 
bool isFin ()
 
void setFin (bool fin)
 
void setMask (const std::vector< byte > &maskingKey)
 
void setMask (const byte *data, int nCount=4)
 
void setMasked (bool mask)
 
void setOpCode (byte op)
 
void setPayload (ByteBuffer &buffer)
 
void append (ByteBuffer &buffer, int needed_len)
 
void setRsv1 (bool rsv1)
 
void setRsv2 (bool rsv2)
 
void setRsv3 (bool rsv3)
 
bool isRsv1 ()
 
bool isRsv2 ()
 
bool isRsv3 ()
 
bool hasPayload ()
 
void reset ()
 
void assertValid ()
 
void loadData (std::vector< byte > &outData)
 
int size ()
 

The documentation for this class was generated from the following files: