Opens the specified URL.
boost::system::error_code open( const url & u, boost::system::error_code & ec);
Parameters
The URL to open.
Set to indicate what error occurred, if any.
Return Value
ec
.
Example
urdl::read_stream read_stream(io_service); boost::system::error_code ec; read_stream.open("http://www.boost.org", ec); if (ec) { std::cerr << ec.message() << std::endl; }