...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 a new chunk header of a chunk encoded body is received.
void on_chunk_header_impl( std::uint64_t size, string_view extensions, error_code& ec);
This function is invoked each time a new chunk header is received. The function is only used when the chunked transfer encoding is present.
Name |
Description |
---|---|
|
The size of this chunk, in bytes. |
|
A string containing the entire chunk extensions. This may be empty, indicating no extensions are present. |
|
An output parameter which the function may set to indicate an error. The error will be clear before this function is invoked. |