Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
parser.hpp File Reference
#include <algorithm>
#include <map>
#include <string>
#include <utility>
#include <websocketpp/utilities.hpp>
#include <websocketpp/http/constants.hpp>
#include <websocketpp/http/impl/parser.hpp>
Include dependency graph for parser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  websocketpp::http::parser::parser
 Base HTTP parser. More...
 

Namespaces

namespace  websocketpp
 Namespace for the WebSocket++ project.
 
namespace  websocketpp::http
 HTTP handling support.
 
namespace  websocketpp::http::parser
 
namespace  websocketpp::http::parser::state
 
namespace  websocketpp::http::parser::body_encoding
 

Typedefs

typedef std::map< std::string, std::string, utility::ci_lesswebsocketpp::http::parser::header_list
 

Enumerations

enum  websocketpp::http::parser::state::value { websocketpp::http::parser::state::method , websocketpp::http::parser::state::resource , websocketpp::http::parser::state::version , websocketpp::http::parser::state::headers }
 
enum  websocketpp::http::parser::body_encoding::value { websocketpp::http::parser::body_encoding::unknown , websocketpp::http::parser::body_encoding::plain , websocketpp::http::parser::body_encoding::chunked }
 

Functions

template<typename InputIterator >
std::pair< std::string, InputIterator > websocketpp::http::parser::extract_token (InputIterator begin, InputIterator end)
 Read and return the next token in the stream.
 
template<typename InputIterator >
std::pair< std::string, InputIterator > websocketpp::http::parser::extract_quoted_string (InputIterator begin, InputIterator end)
 Read and return the next quoted string in the stream.
 
template<typename InputIterator >
InputIterator websocketpp::http::parser::extract_lws (InputIterator begin, InputIterator end)
 Read and discard one unit of linear whitespace.
 
template<typename InputIterator >
InputIterator websocketpp::http::parser::extract_all_lws (InputIterator begin, InputIterator end)
 Read and discard linear whitespace.
 
template<typename InputIterator >
InputIterator websocketpp::http::parser::extract_attributes (InputIterator begin, InputIterator end, attribute_list &attributes)
 Extract HTTP attributes.
 
template<typename InputIterator >
InputIterator websocketpp::http::parser::extract_parameters (InputIterator begin, InputIterator end, parameter_list &parameters)
 Extract HTTP parameters.
 
std::string websocketpp::http::parser::strip_lws (std::string const &input)