Parse a string and return an encoded params view
<include/boost/url/params_encoded_view.hpp>
friend
system::result<params_encoded_view>
parse_query(core::string_view s) noexcept;
This function parses the string and returns the corresponding params object if the string is valid, otherwise returns an error.
query = *( pchar / "/" / "?" )
A valid view on success, otherwise an error code.
Name | Description |
---|---|
s | The string to parse |