Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit b936bbe8ce.
PrevUpHomeNext
http::header::operator[] (2 of 2 overloads)

(Inherited from http::basic_fields)

Returns the value for a case-insensitive matching header, or "" if it does not exist.

Synopsis
string_view const
operator[](
    string_view 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. It is interpreted as a case-insensitive string.


PrevUpHomeNext