Look up a request header value.

Synopsis

Declared in <httpserver.h>

std::optional<std::string>
GetHeader(std::string_view hdr) const;

Return Value

The header value, or nullopt if it is not present.

Parameters

Name

Description

hdr

The header field‐name to look up.

Created with MrDocs