| Home | Libraries | People | FAQ | More

###### http::basic_fields::insert (1 of 3 overloads)

Insert a field.

Synopsis

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

Description

If one or more fields with the same name already exist, the new field will be inserted after the last field with the matching name, in serialization order.

Parameters

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