Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 41715b1c50.
PrevUpHomeNext
url_view_base::authority

Return the authority.

Synopsis
authority_view
authority() const;
Description

This function returns the authority as an authority_view.

Example
authority_view a = url_view( "https://www.example.com:8080/index.htm" ).authority();
Complexity

Constant.

Exception Safety

Throws nothing.

BNF
authority   = [ userinfo "@" ] host [ ":" port ]
Specification
See Also

encoded_authority, has_authority.


PrevUpHomeNext