remove_query
Remove the query
Synopsis
static_url&
remove_query() noexcept;
Defined in file <include/boost/url/static_url.hpp> on line 410
Example
assert( url( "http://www.example.com?id=42" ).remove_query().buffer() == "http://www.example.com" );
BNF
query = *( pchar / "/" / "?" )
query-param = key [ "=" value ]
query-params = [ query-param ] *( "&" query-param )