#include <message_body_parser.hpp>
◆ message_body_parser()
netflex::parsing::message_body_parser::message_body_parser |
( |
http::request & |
request | ) |
|
|
explicit |
default ctor
- Parameters
-
request | request to be initialized |
◆ is_done()
bool netflex::parsing::message_body_parser::is_done |
( |
void |
| ) |
const |
|
virtual |
◆ operator<<()
parser_iface& netflex::parsing::message_body_parser::operator<< |
( |
std::string & |
data | ) |
|
|
virtual |
consume input data to parse it and init the request if not enough data is passed in, this method would need to be called again later input data is modified whenever a token is consumed by parsing, even if parsing is incomplete or invalid invalid data would lead to a raised exception
- Parameters
-
data | input data to be parsed |
- Returns
- reference to the current object
Implements netflex::parsing::parser_iface.
The documentation for this class was generated from the following file: