1.0.1 • Published 9 years ago

rpc-client v1.0.1

Weekly downloads
10
License
-
Repository
-
Last release
9 years ago

##rpc-client JSON RPC client for node.js with ssl support

###installation

npm install rpc-client

###usage

Include library

Client = require("rpc-client");

Create client object

client = new Client({host:"localhost",port:"8080", protocol:"https"});

Optionally set authentication

client.setBasicAuth("john", "correcthorsebatterystaple");

Execute remote methods

client.call("multiply", [1,2,4], function(err, result){})