rpc-client

    1.0.1 • Public • Published

    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){})

    Keywords

    none

    Install

    npm i rpc-client

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    none

    Last publish

    Collaborators

    • devktor