Gets the values of all options set on the stream.
option_set get_options() const;
Return Value
An option set containing all options from the stream.
Remarks
Returns rdbuf()->get_options()
.
Example
To get the options that have been set on the stream:
urdl::istream is; ... urdl::option_set options(is.get_options()); urdl::http::max_redirects option = options.get_option<urdl::http::max_redirects>(); std::size_t value = option.value();