xeross/xJsonRpc-PHP — pull request #1 by fiddur (2012-04-13 05:58:35+00:00)
Title: Letting webclient connect to jsonrpc 1.0 servers

Fromhttp://www.jsonrpc.org/specification: "Most 2.0 implementations should consider trying to handle 1.0 objects".

By not throwing exceptions on version checks, the client works well on older jsonrpc implementations as long as you stick with the basic requests and not try to use batch. Maybe one could want to set some kind of flag on the instance to let it know that it should avoid the 2.0 features, but this commit makes it work.