boost::burl::response::content_length

Return the payload size, if known.

Synopsis

Declared in <boost/burl/response.hpp>

std::optional<uint64_t>
content_length() const noexcept;

Description

Returns the size of the message payload when it is determined by the message metadata. Otherwise returns an empty optional, such as for chunked messages.

Return Value

the payload size, if known.

Created with MrDocs