Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the mandatory jsonrpc version identification #1

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

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