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

Method add_header

include/aws/http/response.h:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 return m_body;
141}
142inline void response::add_header(std::string name, std::string const& value)
143{
144 std::transform(name.begin(), name.end(), name.begin(), ::tolower);
145 m_headers.emplace_back(std::move(name), value);
146}
147
148inline void response::append_body(const char* p, size_t sz)
149{

Callers 1

write_headerFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected