Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
http::basic_parser::on_chunk_header_impl

Called each time a new chunk header of a chunk encoded body is received.

Synopsis
void
on_chunk_header_impl(
    std::uint64_t size,
    string_view extensions,
    error_code& ec);
Description

This function is invoked each time a new chunk header is received. The function is only used when the chunked transfer encoding is present.

Parameters

Name

Description

size

The size of this chunk, in bytes.

extensions

A string containing the entire chunk extensions. This may be empty, indicating no extensions are present.

ec

An output parameter which the function may set to indicate an error. The error will be clear before this function is invoked.


PrevUpHomeNext