![]() |
Home | Libraries | People | FAQ | More |
(Inherited from http::basic_fields
)
Insert a field.
void insert( field name, string_view name_string, string_view value);
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. The value can be an empty string.
Name |
Description |
---|---|
|
The field name. |
|
The literal text corresponding to the field name. If |
|
The field value. |
Type |
Thrown On |
---|---|
|
Thrown if an error occurs:
|