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
Options are uniquely identified by type.
Example
urdl::read_stream stream(io_service); stream.set_option(urdl::http::max_redirects(1));