| Home | Libraries | People | FAQ | More

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

Returns the value for a field, or throws an exception.

<h7> Synopsis </h7>

    string_view const
    at(
        field name) const;

<h7> Description </h7>

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

<h7> Parameters </h7>

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

<h7> Return Value </h7>

The field value.

<h7> Exceptions </h7>

Type | Thrown On
--- | ---
`std::out_of_range` | if the field is not found.