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

Method initCounter

edrav2/eprj/jsonrpccpp/src/test/testserver.cpp:73–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void TestServer::initCounter(const Json::Value &request) {
74 cnt = request["value"].asInt();
75}
76
77void TestServer::incrementCounter(const Json::Value &request) {
78 cnt += request["value"].asInt();

Callers

nothing calls this directly

Calls 1

asIntMethod · 0.45

Tested by

no test coverage detected