#include <websocket_message.hpp>
Public Member Functions | |
boost::tribool | consume (WebsocketFrame &frame, char input) |
template<typename InputIterator > | |
boost::tuple< boost::tribool, InputIterator > | parse (WebsocketFrame &frame, InputIterator begin, InputIterator end) |
void | reset () |
WebsocketFrameParser () | |
Private Types | |
enum | state { header_byte1, header_byte2, length_8bytes_left, length_7bytes_left, length_6bytes_left, length_5bytes_left, length_4bytes_left, length_3bytes_left, length_2bytes_left, length_1bytes_left, mask_byte1, mask_byte2, mask_byte3, mask_byte4, body } |
Private Attributes | |
enum async_web_server_cpp::WebsocketFrameParser::state | state_ |
Definition at line 52 of file websocket_message.hpp.
enum async_web_server_cpp::WebsocketFrameParser::state [private] |
Definition at line 73 of file websocket_message.hpp.
Definition at line 87 of file websocket_message.cpp.
boost::tribool async_web_server_cpp::WebsocketFrameParser::consume | ( | WebsocketFrame & | frame, |
char | input | ||
) |
Definition at line 97 of file websocket_message.cpp.
boost::tuple<boost::tribool, InputIterator> async_web_server_cpp::WebsocketFrameParser::parse | ( | WebsocketFrame & | frame, |
InputIterator | begin, | ||
InputIterator | end | ||
) | [inline] |
Definition at line 59 of file websocket_message.hpp.
Definition at line 92 of file websocket_message.cpp.
enum async_web_server_cpp::WebsocketFrameParser::state async_web_server_cpp::WebsocketFrameParser::state_ [private] |