Skip to content

Conversation

@fiddlerwoaroof
Copy link

Added 'jsonrpc': '2.0' to the string sent over the network as required by the spec.

fiddlerwoaroof and others added 9 commits July 25, 2011 14:15
Added JSON-RPC version declaration in onFailure and onSuccess handlers.
* Removed handleInvalidRequest()
* Added handleError with JSON error object
* Now returning JSON-RPC as it is in the specs
(http://groups.google.com/group/json-rpc/web/json-rpc-2-0?pli=1)
* Prevented server crashes because of invalid JSON
* Changed callback syntax used by the server functions (look at README)
* Allowing extra error callback or error parameter in
success callback at the client
@fjl
Copy link

fjl commented Jul 9, 2012

seriously guys, this should be pulled in

masim05 referenced this pull request in fuson/node-jsonrpc2 Jan 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants