![]() |
Home | Libraries | People | FAQ | More |
Rule for absolute-URI.
Defined in header <boost/url/rfc/absolute_uri_rule.hpp>
constexpr implementation-defined absolute_uri_rule;
using value_type = [link url.ref.boost__urls__url_view `url_view`];
Rules are used with the function grammar::parse
.
system::result< url_view > rv = [link url.ref.boost__urls__grammar__parse `grammar::parse`]( "http://example.com/index.htm?id=1" , [link url.ref.boost__urls__absolute_uri_rule `absolute_uri_rule`] );
absolute-URI = [link url.ref.boost__urls__scheme `scheme`] ":" hier-part [ "?" query ] hier-part = "//" authority path-abempty / path-absolute / path-rootless / path-empty
grammar::parse
,
parse_absolute_uri
,
url_view
.
Convenience header <boost/url.hpp>