A WebSocketFrame frame.
More...
#include <WebSocketFrame.h>
|
int | _flags |
| the websocket flags for this frame.
|
|
◆ flags()
int ofx::HTTP::WebSocketFrame::flags |
( |
| ) |
const |
◆ isBinary()
bool ofx::HTTP::WebSocketFrame::isBinary |
( |
| ) |
const |
- Returns
- true iff a binary frame.
◆ isClose()
bool ofx::HTTP::WebSocketFrame::isClose |
( |
| ) |
const |
- Returns
- true iff a close frame.
◆ isContinuation()
bool ofx::HTTP::WebSocketFrame::isContinuation |
( |
| ) |
const |
- Returns
- true iff a continuation frame.
◆ isFinal()
bool ofx::HTTP::WebSocketFrame::isFinal |
( |
| ) |
const |
- Returns
- true iff a final frame.
◆ isPing()
bool ofx::HTTP::WebSocketFrame::isPing |
( |
| ) |
const |
- Returns
- true iff a ping frame.
◆ isPong()
bool ofx::HTTP::WebSocketFrame::isPong |
( |
| ) |
const |
- Returns
- true iff a pong frame.
◆ isRSV1()
bool ofx::HTTP::WebSocketFrame::isRSV1 |
( |
| ) |
const |
- Returns
- true iff a RSV1 frame.
◆ isRSV2()
bool ofx::HTTP::WebSocketFrame::isRSV2 |
( |
| ) |
const |
- Returns
- true iff a RSV2 frame.
◆ isRSV3()
bool ofx::HTTP::WebSocketFrame::isRSV3 |
( |
| ) |
const |
- Returns
- true iff a RSV3 frame.
◆ isText()
bool ofx::HTTP::WebSocketFrame::isText |
( |
| ) |
const |
- Returns
- true iff a text frame.
◆ setFinal()
void ofx::HTTP::WebSocketFrame::setFinal |
( |
bool |
value | ) |
|
Set the FIN bit.
- Parameters
-
◆ setRSV1()
void ofx::HTTP::WebSocketFrame::setRSV1 |
( |
bool |
value | ) |
|
Set the RSV1 bit.
- Parameters
-
◆ setRSV2()
void ofx::HTTP::WebSocketFrame::setRSV2 |
( |
bool |
value | ) |
|
Set the RSV2 bit.
- Parameters
-
◆ setRSV3()
void ofx::HTTP::WebSocketFrame::setRSV3 |
( |
bool |
value | ) |
|
Set the RSV3 bit.
- Parameters
-
◆ toString()
std::string ofx::HTTP::WebSocketFrame::toString |
( |
| ) |
const |
The documentation for this class was generated from the following files: