[#HTTPHeaders-FindFirst] = xref:HTTPHeaders.adoc[HTTPHeaders]::FindFirst :relfileprefix: ../ :mrdocs: Find the first value stored under a header field‐name. == Synopsis Declared in `<httpserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<std::string> FindFirst(std::string_view key) const; ---- == Return Value The value of the first header that matches the provided key nullopt if key is not found == Parameters [cols="1,4"] |=== | Name| Description | *key* [in] | The field‐name of the header to search for |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#