NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
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

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

Typedefs

typedef std::map< std::string, std::string, utility::ci_less > websocketpp::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. More...
 
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. More...
 
template<typename InputIterator >
InputIterator websocketpp::http::parser::extract_lws (InputIterator begin, InputIterator end)
 Read and discard one unit of linear whitespace. More...
 
template<typename InputIterator >
InputIterator websocketpp::http::parser::extract_all_lws (InputIterator begin, InputIterator end)
 Read and discard linear whitespace. More...
 
template<typename InputIterator >
InputIterator websocketpp::http::parser::extract_attributes (InputIterator begin, InputIterator end, attribute_list &attributes)
 Extract HTTP attributes. More...
 
template<typename InputIterator >
InputIterator websocketpp::http::parser::extract_parameters (InputIterator begin, InputIterator end, parameter_list &parameters)
 Extract HTTP parameters. More...
 
std::string websocketpp::http::parser::strip_lws (std::string const &input)