node-jsonrpc2 icon indicating copy to clipboard operation
node-jsonrpc2 copied to clipboard

JSON-RPC client and server for node.js

Results 7 node-jsonrpc2 issues
Sort by recently updated
recently updated
newest added

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

I just tried node-jsonrpc2, works great, until trying to create new client with host and port of an not existing host. Using try catch does not work, error is thrown...

Hello, I am having some issues when I'm sending a JSON using curl on Windows 7. My curl message is: curl -H "Content-Type: application/json" "http://127.0.0.1:8000/" -d {"""jsonrpc""":"""2.0""","""method""":"""test""","""params""":{"""id""":"""567"""},"""id""":12345} and the error...

bug: i try to sent object as param, and server error, i made a little fix to check is param an array or something else

change are: - change http.createClient -> http.request - hotfix invalid json make server down

Replaced `sys.puts` with `console.log` and deleted `sys = require("sys")`