MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / has_header

Function has_header

dependencies/httplib/httplib.h:3210–3212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3208#endif
3209
3210inline bool has_header(const Headers &headers, const char *key) {
3211 return headers.find(key) != headers.end();
3212}
3213
3214inline const char *get_header_value(const Headers &headers, const char *key,
3215 size_t id, const char *def) {

Callers 2

read_contentFunction · 0.85
has_headerMethod · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected