## Class parser

zeep::http::parser — An HTTP message parser with support for Transfer-Encoding: Chunked.

## Synopsis

    // In header: </build/libzeep-8SPbhu/libzeep-3.0.5/zeep/http/message_parser.hpp>

    class parser {
    public:
      // types
      typedef std::tuple< boost::tribool, size_t > result_type;
      typedef boost::tribool(parser::*             state_parser;

      // construct/copy/destruct
      parser();
      ~parser();

      // public member functions
      virtual void reset();
      bool parsing_content() const;
      boost::tribool
      parse_header_lines(std::vector< header > &, std::string &, char);
      boost::tribool parse_chunk(std::vector< header > &, std::string &, char);
      boost::tribool parse_footer(std::vector< header > &, std::string &, char);
      boost::tribool parse_content(std::vector< header > &, std::string &, char);
    };

## Description

### `parser` public construct/copy/destruct

1.     parser();

2.     ~parser();

### `parser` public member functions

1.     virtual void reset();

2.     bool parsing_content() const;

3.     boost::tribool
       parse_header_lines(std::vector< header > & headers, std::string & payload,
                          char ch);

4.     boost::tribool
       parse_chunk(std::vector< header > & headers, std::string & payload, char ch);

5.     boost::tribool
       parse_footer(std::vector< header > & headers, std::string & payload, char ch);

6.     boost::tribool
       parse_content(std::vector< header > & headers, std::string & payload, char ch);