MCPcopy Create free account
hub / github.com/chrxh/alien / get_header_value_count

Method get_header_value_count

external/cpp-httplib/httplib.h:4516–4519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4514 }
4515
4516 inline size_t Request::get_header_value_count(const char* key) const {
4517 auto r = headers.equal_range(key);
4518 return static_cast<size_t>(std::distance(r.first, r.second));
4519 }
4520
4521 inline void Request::set_header(const char* key, const char* val) {
4522 if (!detail::has_crlf(key) && !detail::has_crlf(val)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected