| Home | Libraries | People | FAQ | More

###### http::header::operator[] (1 of 2 overloads)

(Inherited from `http::basic_fields`)

Returns the value for a field, or `""` if it does not exist.

###### Synopsis

    string_view const
    operator[](
        field name) const;

###### Description

If more than one field with the specified name exists, the first field defined by insertion order is returned.

###### Parameters

Name | Description
--- | ---
`name` | The name of the field.