Gets the current value of an option that controls the behaviour of the stream.
template< typename Option> Option get_option() const;
Return Value
The current value of the option.
Remarks
Returns rdbuf()->get_option<Option>()
.
Options are uniquely identified by type.
Example
urdl::istream is; urdl::http::max_redirects option = is.get_option<urdl::http::max_redirects>(); std::size_t value = option.value();