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 a snapshot of the master branch, built from commit 5002c2d6a2.
PrevUpHomeNext

absolute_uri_rule

Rule for absolute-URI.

Synopsis

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

constexpr implementation-defined absolute_uri_rule;
Value Type
using value_type = url_view;
Example

Rules are used with the function grammar::parse.

result< url_view > rv = grammar::parse( "http://example.com/index.htm?id=1", absolute_uri_rule );
BNF
absolute-URI    = scheme ":" hier-part [ "?" query ]

hier-part       = "//" authority path-abempty
                / path-absolute
                / path-rootless
                / path-empty
Specification
See Also

grammar::parse, parse_absolute_uri, url_view.

Convenience header <boost/url.hpp>


PrevUpHomeNext