Urdl C++ Library

PrevUpHomeNext
istream::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().

Remarks

Returns rdbuf()->content_length().


PrevUpHomeNext