Urdl C++ Library

PrevUpHomeNext
read_stream::content_length

Gets the length of the content obtained from the URL.

std::size_t content_length() const;

Return Value

The length, in bytes, of the content. If the content associated with the URL does not specify a length, std::numeric_limits<std::size_t>::max().


PrevUpHomeNext