Function email::utils::response::get_header_value
Defined in File response_utils.hpp
Function Documentation
-
std::optional<std::string> email::utils::response::get_header_value(const std::string &header_name, const EmailHeaders &headers)
Get header value from headers.
- Parameters:
header_name – the name of the header
headers – the headers
- Returns:
the value, or
std::nullopt
if it failed/if the header doesn’t exist