Sets options to control the behaviour of the stream.
void set_options( const option_set & options);
Parameters
The options to be set on the stream. The options in the set are added on top of any options already set on the stream.
Remarks
Performs rdbuf()->set_options(options)
.
Example
urdl::istream is; urdl::option_set options; options.set_option(urdl::http::max_redirects(1)); options.set_option(urdl::ssl::verify_peer(false)); stream.set_options(options);