![]() |
Home | Libraries | People | FAQ | More |
Rule for authority.
Defined in header <boost/url/rfc/authority_rule.hpp>
constexpr implementation-defined authority_rule;
using value_type = [link url.ref.boost__urls__authority_view `authority_view`];
Rules are used with the function grammar::parse
.
system::result< authority_view > rv = [link url.ref.boost__urls__grammar__parse `grammar::parse`]( "user:pass@example.com:8080" , [link url.ref.boost__urls__authority_rule `authority_rule`] );
authority = [ userinfo "@" ] host [ ":" port ]
authority_view
,
grammar::parse
,
parse_authority
.
Convenience header <boost/url.hpp>