set
Set a value
Synopsis
params_base::iterator
set(
string_view key,
string_view value,
ignore_case_param ic = = {});
Declared in file <include/boost/url/params_ref.hpp> on line 910
Defined in file <src/params_ref.cpp> on line 189
Description
This function performs one of two actions depending on the value of
this->contains( key, ic )
.
-
If key is contained in the view then one of the matching elements has its value changed to the specified value. The remaining elements with a matching key are erased. Otherwise,
-
If
key
is not contained in the view, then the function apppends the param{ key, value }
. All iterators are invalidated.