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

Method GetJsonRequest

src/test/mockclientconnector.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17string MockClientConnector::GetRequest() { return request; }
18
19Json::Value MockClientConnector::GetJsonRequest() {
20 Json::Value result;
21 std::istringstream(request) >> result;
22 return result;
23}
24
25void MockClientConnector::SetResponse(const std::string &response) { this->response = response; }
26

Callers 2

test_server.cppFile · 0.45
test_client.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected