Boost.URL

    • Quick Look
    • URLs
      • Parsing
      • Containers
      • Segments
      • Params
      • Normalization
      • String Token
      • Percent Encoding
      • Formatting
    • Customization
      • Parse Rules
      • Character Sets
      • Compound Rules
      • Ranges
      • RFC 3986
    • Examples
      • QR Code
      • Finicky
      • mailto URLs
      • Magnet Link
      • File Router
      • Router
      • Sanitizing URLs
    • Reference
      • Concepts
        • CharSet
        • Rule
        • StringToken
      • Help Card
  • boost::urls::authority_view::buffer

boost::urls::authority_view::buffer

Return the complete authority

Synopsis

Declared in <include/boost/url/authority_view.hpp>

core::string_view
buffer() const noexcept;

Description

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

assert( parse_authority( "www.example.com" ).value().buffer() == "www.example.com" );
authority   = [ userinfo "@" ] host [ ":" port ]

Throws nothing.

  • 3.2. Authority (rfc3986)

Created with MrDocs