boost::urls::uri_reference_rule

Rule for URI-reference

Synopsis

constexpr
implementation-defined uri_reference_rule = {};

Description

using value_type = url_view;

Rules are used with the function

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 ]