MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / GetHeader

Method GetHeader

edrav2/eprj/jsonrpccpp/src/test/testhttpserver.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38std::string TestHttpServer::GetHeader(const std::string &key) {
39 if (this->headers.find(key) != this->headers.end())
40 return this->headers[key];
41 return "";
42}
43
44int TestHttpServer::callback(void *cls, MHD_Connection *connection,
45 const char *url, const char *method,

Callers 4

MarshallMethod · 0.80
BuildSuccessResponseMethod · 0.80
MakeRequestInternalMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected