<boost/url/url_view_base.hpp>
authority_view authority() const noexcept;
This function returns the authority as an authority_view.
authority_view
authority_view a = url_view( "https://www.example.com:8080/index.htm" ).authority();
Constant.
Throws nothing.
authority = [ userinfo "@" ] host [ ":" port ]
encoded_authority, has_authority.
encoded_authority
has_authority