Sets an option to control the behaviour of the stream.
template< typename Option> void set_option( const Option & option);
Parameters
The option to be set on the stream.
Remarks
Performs rdbuf()->set_option(option)
.
Options are uniquely identified by type.
Example
urdl::istream is; is.set_option(urdl::http::max_redirects(1));