...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Called each time additional data is received representing the content body.
std::size_t on_body_impl( string_view body, error_code& ec);
This virtual function is invoked for each piece of the body which is received while parsing of a message. This function is only used when no chunked transfer encoding is present.
Name |
Description |
---|---|
|
A string holding the additional body contents. This may contain nulls or unprintable characters. |
|
An output parameter which the function may set to indicate an error. The error will be clear before this function is invoked. |