MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / CallMethod

Method CallMethod

src/jsonrpccpp/client/client.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21Client::~Client() { delete this->protocol; }
22
23void Client::CallMethod(const std::string &name, const Json::Value &parameter, Json::Value &result) {
24 std::string request, response;
25 protocol->BuildRequest(name, parameter, request, false);
26 connector.SendRPCMessage(request, response);
27 protocol->HandleResponse(response, result);
28}
29
30void Client::CallProcedures(const BatchCall &calls, BatchResponse &result) {
31 std::string request, response;

Callers 7

test_client.cppFile · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 3

BuildRequestMethod · 0.80
HandleResponseMethod · 0.80
SendRPCMessageMethod · 0.45

Tested by

no test coverage detected