{"size": 373, "ext": "js", "max_stars_repo_path": "nodeJsonRpc/test.js", "max_stars_repo_name": "dingchaolin/node-rpc", "max_stars_repo_stars_event_min_datetime": "2019-06-14T01:13:03.000Z", "max_stars_repo_stars_event_max_datetime": "2019-06-14T01:13:03.000Z", "max_issues_repo_path": "nodeJsonRpc/test.js", "max_issues_repo_name": "dingchaolin/node-rpc", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "nodeJsonRpc/test.js", "max_forks_repo_name": "dingchaolin/node-rpc", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.9411764706, "max_line_length": 58, "alphanum_fraction": 0.3860589812}
let client = require('./client').rpcClient;



for( let i = 1; i < 20; i++ ){
    client.call(
        {   "jsonrpc": "2.0",
            "method": "add",
            "params": [1,i],
            "id": i //id必须非零
        },
        function (err, res) {
            if (err) { console.log(err); }
            else { console.log("i========>",res.result); }
        }
    );
}