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

PrevUpHomeNext
http::basic_dynamic_body::size

Returns the payload size of the body.

Synopsis
static
std::uint64_t
size(
    value_type const& v);
Description

When this body is used with message::prepare_payload, the Content-Length will be set to the payload size, and any chunked Transfer-Encoding will be removed.


PrevUpHomeNext