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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
authority_view::buffer

Return the complete authority.

Synopsis
string_view
buffer() const;
Description

This function returns the authority as a percent-encoded string.

Example
assert( parse_authority( "www.example.com" ).value().encoded_authority() == "www.example.com" );
BNF
authority   = [ userinfo "@" ] host [ ":" port ]
Exception Safety

Throws nothing.

Specification

PrevUpHomeNext