Set a value
<boost/url/params_encoded_ref.hpp>Set a value
iterator
set(
iterator pos,
pct_string_view value);
» more...
Set a value
iterator
set(
pct_string_view key,
pct_string_view value,
ignore_case_param ic = {});
» more...
| Name | Thrown on |
|---|---|
system_error |
value contains an invalid percent-encoding. |
| Name | Description |
|---|---|
| pos | An iterator to the element. |
| value | The value to assign. The empty string still counts as a value. That is, has_value for the element is true. |
| key | The key to match. By default, a case-sensitive comparison is used. |
| ic | An optional parameter. If the value ignore_case is passed here, the comparison is case-insensitive. |