boost::urls::static_url::remove_query
Remove the query
Synopsis
Declared in <boost/url/static_url.hpp>
static_url&
remove_query() noexcept;
Description
If a query is present, it is removed. An empty query is distinct from having no query.
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 )
See Also
Created with MrDocs