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

Method SendRPCMessage

src/test/mockclientconnector.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25void MockClientConnector::SetResponse(const std::string &response) { this->response = response; }
26
27void MockClientConnector::SendRPCMessage(const string &message, string &result) {
28 request = message;
29 result = this->response;
30}

Calls

no outgoing calls

Tested by

no test coverage detected