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::content_length

Returns the optional value of Content-Length if known.

Synopsis
boost::optional< std::uint64_t >
content_length() const;
Description
Remarks

The return value is undefined unless http::basic_parser::is_header_done would return true.


PrevUpHomeNext