#include <websocket_message.hpp>
Classes | |
struct | Header |
Public Member Functions | |
struct async_web_server_cpp::WebsocketFrame::Header | __attribute__ ((__packed__)) |
bool | fromMessage (const WebsocketMessage &message) |
bool | serialize (std::vector< unsigned char > &buffer) |
Public Attributes | |
union { | |
Header header | |
char header_bytes [2] | |
} | __attribute__ |
std::string | content |
uint64_t | length |
unsigned char | mask [4] |
An single websocket frame and associated header
Definition at line 17 of file websocket_message.hpp.
struct async_web_server_cpp::WebsocketFrame::Header async_web_server_cpp::WebsocketFrame::__attribute__ | ( | (__packed__) | ) |
bool async_web_server_cpp::WebsocketFrame::fromMessage | ( | const WebsocketMessage & | message | ) |
Definition at line 6 of file websocket_message.cpp.
bool async_web_server_cpp::WebsocketFrame::serialize | ( | std::vector< unsigned char > & | buffer | ) |
Definition at line 37 of file websocket_message.cpp.
union { ... } async_web_server_cpp::WebsocketFrame::__attribute__ |
std::string async_web_server_cpp::WebsocketFrame::content |
Definition at line 46 of file websocket_message.hpp.
Definition at line 41 of file websocket_message.hpp.
Definition at line 42 of file websocket_message.hpp.
Definition at line 44 of file websocket_message.hpp.
unsigned char async_web_server_cpp::WebsocketFrame::mask[4] |
Definition at line 45 of file websocket_message.hpp.