MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / has_header

Method has_header

include/aws/http/response.h:159–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159inline bool response::has_header(char const* header) const
160{
161 return std::any_of(m_headers.begin(), m_headers.end(), [header](std::pair<std::string, std::string> const& p) {
162 return p.first == header;
163 });
164}
165
166inline lambda_runtime::outcome<std::string, bool> response::get_header(char const* header) const
167{

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected