| Home | Libraries | People | FAQ | More

###### http::basic_fields::set (1 of 2 overloads)

Set a field value, removing any other instances of that field.

<h7> Synopsis </h7>

    void
    set(
        field name,
        string_param const& value);

<h7> Description </h7>

First removes any values with matching field names, then inserts the new field value.

<h7> Parameters </h7>

Name | Description
--- | ---
`name` | The field name.
`value` | The value of the field, as a `string_param`

<h7> Return Value </h7>

The field value.