|  | Home | Libraries | People | FAQ | More | 
An HTTP/1 parser for producing a message.
        Defined in header <boost/beast/http/parser.hpp>
      
template< bool isRequest, class Body, class Allocator = std::allocator<char>> class parser : public http::basic_parser< isRequest >
| Name | Description | 
|---|---|
| 
                   | |
| The type of message returned by the parser. | 
| Name | Description | 
|---|---|
| Set the limit on the payload body. | |
| 
                  Returns  | |
| Returns the optional value of Content-Length if known. | |
| Returns the remaining content length if known. | |
| 
                  Returns  | |
| Returns the parsed message. | |
| 
                  Returns  | |
| Set a limit on the total size of the header. | |
| 
                  Returns  | |
| 
                  Returns  | |
| 
                  Returns  | |
| 
                  Returns  | |
| Set a callback to be invoked on chunk body data. | |
| Set a callback to be invoked on each chunk header. | |
| Assignment (disallowed) | |
| parser [constructor] | 
                  Constructor (disallowed)  | 
| Write a buffer sequence to the parser. | |
| Inform the parser that the end of stream was reached. | |
| Returns ownership of the parsed message. | |
| 
                  Returns  | |
| 
                  Returns  | |
| ~parser [destructor] | Destructor. | 
        This class uses the basic HTTP/1 wire format parser to convert a series of
        octets into a message using the basic_fields container to represent
        the fields.
      
| Type | Description | 
|---|---|
| 
                   | Indicates whether a request or response will be parsed. | 
| 
                   | The type used to represent the body. This must meet the requirements of Body. | 
| 
                   | 
                  The type of allocator used with the  | 
A new instance of the parser is required for each message.