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_rule

Rule for authority.

Synopsis

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

constexpr implementation-defined authority_rule;
Value Type
using value_type = authority_view;
Example

Rules are used with the function grammar::parse.

result< authority_view > rv = grammar::parse( "user:pass@example.com:8080", authority_rule );
BNF
authority   = [ userinfo "@" ] host [ ":" port ]
Specification
See Also

authority_view, grammar::parse, parse_authority.

Convenience header <boost/url.hpp>


PrevUpHomeNext