boost::urls::static_url::remove_authority
Remove the authority
Synopsis
Declared in <boost/url/static_url.hpp>
static_url&
remove_authority();
Description
This function removes the authority, which includes the userinfo, host, and a port if present.
assert( url( "http://example.com/echo.cgi" ).remove_authority().buffer() == "http:/echo.cgi" );
this->has_authority() == false && this->has_userinfo() == false && this->has_port() == false
See Also
Created with MrDocs