Classes | Public Member Functions | Public Attributes
async_web_server_cpp::WebsocketFrame Class Reference

#include <websocket_message.hpp>

List of all members.

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]

Detailed Description

An single websocket frame and associated header

Definition at line 17 of file websocket_message.hpp.


Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 45 of file websocket_message.hpp.


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


async_web_server_cpp
Author(s): Mitchell Wills
autogenerated on Sat Jun 8 2019 18:56:51