Frame.
More...
#include <wpinet/WebSocket.h>
|
static constexpr uint8_t | kText = kFlagFin | kOpText |
|
static constexpr uint8_t | kBinary = kFlagFin | kOpBinary |
|
static constexpr uint8_t | kTextFragment = kOpText |
|
static constexpr uint8_t | kBinaryFragment = kOpBinary |
|
static constexpr uint8_t | kFragment = kOpCont |
|
static constexpr uint8_t | kFinalFragment = kFlagFin | kOpCont |
|
static constexpr uint8_t | kPing = kFlagFin | kOpPing |
|
static constexpr uint8_t | kPong = kFlagFin | kOpPong |
|
◆ Frame()
wpi::WebSocket::Frame::Frame |
( |
uint8_t |
opcode, |
|
|
std::span< const uv::Buffer > |
data |
|
) |
| |
|
inline |
◆ data
std::span<const uv::Buffer> wpi::WebSocket::Frame::data |
◆ kBinary
constexpr uint8_t wpi::WebSocket::Frame::kBinary = kFlagFin | kOpBinary |
|
staticconstexpr |
◆ kBinaryFragment
constexpr uint8_t wpi::WebSocket::Frame::kBinaryFragment = kOpBinary |
|
staticconstexpr |
◆ kFinalFragment
constexpr uint8_t wpi::WebSocket::Frame::kFinalFragment = kFlagFin | kOpCont |
|
staticconstexpr |
◆ kFragment
constexpr uint8_t wpi::WebSocket::Frame::kFragment = kOpCont |
|
staticconstexpr |
◆ kPing
constexpr uint8_t wpi::WebSocket::Frame::kPing = kFlagFin | kOpPing |
|
staticconstexpr |
◆ kPong
constexpr uint8_t wpi::WebSocket::Frame::kPong = kFlagFin | kOpPong |
|
staticconstexpr |
◆ kText
constexpr uint8_t wpi::WebSocket::Frame::kText = kFlagFin | kOpText |
|
staticconstexpr |
◆ kTextFragment
constexpr uint8_t wpi::WebSocket::Frame::kTextFragment = kOpText |
|
staticconstexpr |
◆ opcode
uint8_t wpi::WebSocket::Frame::opcode |
The documentation for this struct was generated from the following file: