The variable size component of a WebSocket frame header.
More...
#include <frame.hpp>
Definition at line 235 of file frame.hpp.
◆ extended_header() [1/3]
websocketpp::frame::extended_header::extended_header |
( |
| ) |
|
|
inline |
Definition at line 236 of file frame.hpp.
236 {
237 std::fill_n(this->
bytes,MAX_EXTENDED_HEADER_LENGTH,0x00);
238 }
◆ extended_header() [2/3]
websocketpp::frame::extended_header::extended_header |
( |
uint64_t | payload_size | ) |
|
|
inline |
Definition at line 240 of file frame.hpp.
240 {
241 std::fill_n(this->
bytes,MAX_EXTENDED_HEADER_LENGTH,0x00);
242
243 copy_payload(payload_size);
244 }
◆ extended_header() [3/3]
websocketpp::frame::extended_header::extended_header |
( |
uint64_t | payload_size, |
|
|
uint32_t | masking_key ) |
|
inline |
Definition at line 246 of file frame.hpp.
246 {
247 std::fill_n(this->
bytes,MAX_EXTENDED_HEADER_LENGTH,0x00);
248
249
250 int offset = copy_payload(payload_size);
251
252
253 uint32_converter temp32;
254 temp32.i = masking_key;
255 std::copy(temp32.c,temp32.c+4,
bytes+offset);
256 }
◆ bytes
uint8_t websocketpp::frame::extended_header::bytes[MAX_EXTENDED_HEADER_LENGTH] |
The documentation for this struct was generated from the following file:
- libraries/fc/vendor/websocketpp/websocketpp/frame.hpp