mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-05 04:11:50 +02:00
rename control spec
This commit is contained in:
parent
c019842b30
commit
0be83c2a2a
2 changed files with 2 additions and 2 deletions
|
@ -307,9 +307,9 @@ void StreamServer::ProcessRequest(const jsonrpcpp::request_ptr request, jsonrpcp
|
|||
}
|
||||
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}}
|
||||
// <major>: backwards incompatible change
|
||||
result["major"] = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue