parse_query

Parse a string and return an encoded params view

Synopsis

result<params_encoded_view>
parse_query(string_view s) noexcept;

Declared in file <include/boost/url/parse_query.hpp> on line 46

Declared in file <include/boost/url/params_encoded_view.hpp> on line 228

Defined in file <src/parse_query.cpp> on line 24

Description

This function parses the string and returns the corresponding params object if the string is valid, otherwise returns an error.

BNF

Exception Safety

No-throw guarantee.

Specification