I am using XBMC json-rpc with websockets. When I send json request like "method":"Playlist.OnClear"
I get response {"id":1,"jsonrpc":"2.0","result":"OK"}
.
So if I'll send multiple requests I will get multiple responses and I won't be able to identify which response refers to which request. Is it possible to pass some additional data to request so that it would be added to response (like context
in jquery ajax call)?
I don't know is it related to XBMC or json-rpc in general.