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
      • Index
      • Concepts
        • CharSet
        • Rule
        • StringToken
      • Help Card

boost::urls::authority_rule

Rule for authority

Synopsis

Declared in header <boost/url/rfc/authority_rule.hpp>

constexpr
implementation-defined authority_rule = {};

Description

using value_type = authority_view;

Rules are used with the function

grammar::parse .

system::result< authority_view > rv = grammar::parse( "user:pass@example.com:8080", authority_rule );
authority   = [ userinfo "@" ] host [ ":" port ]
  • 3.2. Authority (rfc3986)

See Also

authority_view , grammar::parse , parse_authority .