boost::urls::static_url::remove_port
Remove the port
Synopsis
Declared in <boost/url/static_url.hpp>
static_url&
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