...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the optional value of Content-Length if known.
boost::optional< std::uint64_t > content_length() const;
The return value is undefined unless http::basic_parser::is_header_done
would return true
.