boost::urls::url_base::remove_port
Remove the port
Synopsis
Declared in <boost/url/url_base.hpp>
url_base&
remove_port() noexcept;
Example
assert( url( "http://www.example.com:80" ).remove_port().authority().buffer() == "www.example.com" );
See Also
set_port
.
Created with MrDocs