MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / get_header_count

Method get_header_count

src/dpp/http_server_request.cpp:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70size_t http_server_request::get_header_count(const std::string& header_name) const {
71 return request_headers.count(lowercase(header_name));
72}
73
74std::list<std::string> http_server_request::get_header_list(const std::string& header_name) const {
75 auto hdrs = request_headers.equal_range(lowercase(header_name));

Callers

nothing calls this directly

Calls 2

lowercaseFunction · 0.85
countMethod · 0.80

Tested by

no test coverage detected