rename control spec

This commit is contained in:
badaix 2017-02-25 17:26:35 +01:00
parent c019842b30
commit 0be83c2a2a
2 changed files with 2 additions and 2 deletions

View file

@ -307,9 +307,9 @@ void StreamServer::ProcessRequest(const jsonrpcpp::request_ptr request, jsonrpcp
} }
else if (request->method.find("Server.") == 0) else if (request->method.find("Server.") == 0)
{ {
if (request->method.find("Server.RPCVersion") == 0) if (request->method.find("Server.GetRPCVersion") == 0)
{ {
/// Request: {"id":8,"jsonrpc":"2.0","method":"Server.RPCVersion"} /// Request: {"id":8,"jsonrpc":"2.0","method":"Server.GetRPCVersion"}
/// Response: {"id":8,"jsonrpc":"2.0","result":{"major":2,"minor":0,"patch":0}} /// Response: {"id":8,"jsonrpc":"2.0","result":{"major":2,"minor":0,"patch":0}}
// <major>: backwards incompatible change // <major>: backwards incompatible change
result["major"] = 2; result["major"] = 2;