Public Member Functions | Private Types | Private Attributes
async_web_server_cpp::WebsocketFrameParser Class Reference

#include <websocket_message.hpp>

List of all members.

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_

Detailed Description

Definition at line 52 of file websocket_message.hpp.


Member Enumeration Documentation

Enumerator:
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 

Definition at line 73 of file websocket_message.hpp.


Constructor & Destructor Documentation

Definition at line 87 of file websocket_message.cpp.


Member Function Documentation

boost::tribool async_web_server_cpp::WebsocketFrameParser::consume ( WebsocketFrame frame,
char  input 
)

Definition at line 97 of file websocket_message.cpp.

template<typename InputIterator >
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.


Member Data Documentation


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


async_web_server_cpp
Author(s): Mitchell Wills
autogenerated on Thu Aug 27 2015 12:27:39