boost::urls::uri_reference_rule

Rule for URI-reference

Synopsis

Declared in <include/boost/url/rfc/uri_reference_rule.hpp>

constexpr
    _implementation-defined_ uri_reference_rule = {};

Description

using value_type = url_view;

Rules are used with the function

grammar::parse .

system::result< url_view > rv = grammar::parse( "ws://echo.example.com/?name=boost#demo", uri_reference_rule ); URI-reference = URI / relative-ref URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] relative-ref = relative-part [ "?" query ] [ "#" fragment ]
  • 3. Syntax Components (rfc3986)
  • See Also

    grammar::parse , parse_uri_reference , url_view .

    Created with MrDocs