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::span_body::size

Returns the payload size of the body.

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

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


PrevUpHomeNext