#include <iosfwd>
#include <string>
#include <utility>
#include <vector>
#include <boost/fusion/adapted/std_pair.hpp>
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
#include <boost/spirit/include/qi_char.hpp>
#include <boost/spirit/include/qi_grammar.hpp>
Go to the source code of this file.
Classes | |
struct | uhal::HttpResponseType |
Struct to store an http response received from a server when parsed by boost spirit. More... | |
Namespaces | |
uhal | |
Functions | |
std::ostream & | uhal::operator<< (std::ostream &aStr, const uhal::HttpResponseType &aHttpResponse) |
BOOST_FUSION_ADAPT_STRUCT (uhal::HttpResponseType,(std::string, method)(double, version)(int, status)(std::string, status_string)(std::string, headers)(std::vector< uint8_t >, content)) namespace uhal | |
A boost::fusion adaptive struct used by the boost::qi parser. More... | |
BOOST_FUSION_ADAPT_STRUCT | ( | uhal::HttpResponseType | , |
(std::string, method)(double, version)(int, status)(std::string, status_string)(std::string, headers)(std::vector< uint8_t >, content) | |||
) |
A boost::fusion adaptive struct used by the boost::qi parser.
A struct wrapping a set of rules as a grammar that can parse an HTTP response packet
Default Constructor where we will define the boost::qi rules relating the members
Boost spirit parsing rule for parsing the incoming http packet
Boost spirit parsing rule for parsing the incoming http packet
Boost spirit parsing rule for parsing the incoming http packet
Boost spirit parsing rule for parsing the incoming http packet
Definition at line 73 of file HttpResponseGrammar.hpp.