set_query
Set the query
Synopsis
url_base&
set_query(string_view s);
Declared in file <include/boost/url/url_base.hpp> on line 1973
Defined in file <src/url_base.cpp> on line 1345
Description
This sets the query to the string, which can be empty. An empty query is distinct from having no query. Reserved characters in the string are percent-escaped in the result.
BNF
query = *( pchar / "/" / "?" )
query-param = key [ "=" value ]
query-params = [ query-param ] *( "&" query-param )