boost::urls::authority_view::buffer

Return the complete authority

Synopsis

core::string_view
buffer() const noexcept;
cpp

Description

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

Example

assert( parse_authority( "www.example.com" ).value().buffer() == "www.example.com" );
cpp

BNF

authority   = [ userinfo "@" ] host [ ":" port ]
cpp

Exception Safety

Throws nothing.

Return Value

The complete authority

Created with MrDocs