boost::urls::query_rule

Rule for query

Synopsis

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

constexpr
    _implementation-defined_ query_rule = {};

Description

using value_type = params_encoded_view;

Rules are used with the function

grammar::parse .

system::result< params_encoded_view > rv = grammar::parse( "format=web&id=42&compact", query_rule ); query = *( pchar / "/" / "?" ) query-params = [ query-param ] *( "&" query-param ) query-param = key [ "=" value ] key = *qpchar value = *( qpchar / "=" ) qpchar = unreserved / pct-encoded / "!" / "$" / "'" / "(" / ")" / "*" / "+" / "," / ";" / ":" / "@" / "/" / "?"
  • 3.4. Query (rfc3986)
  • See Also

    grammar::parse , params_encoded_view .

    Created with MrDocs