mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update jsonrpc2.js
This commit is contained in:
parent
d86c9728e3
commit
27636a4a72
|
@ -5,7 +5,7 @@ var HTTP = require("lib/http");
|
|||
|
||||
function jsonrpc2(url) {
|
||||
this.url = url;
|
||||
this.call = function(method, params, id) {
|
||||
this.invoke = function(method, params, id) {
|
||||
var result;
|
||||
var response = HTTP.create("MSXML")
|
||||
.setContentType("application/json")
|
||||
|
@ -45,7 +45,7 @@ function create(url) {
|
|||
exports.encode = encode;
|
||||
exports.create = create;
|
||||
|
||||
exports.VERSIONINFO = "JSON-RPC 2.0 Interface (jsonrpc2.js) version 0.1.1";
|
||||
exports.VERSIONINFO = "JSON-RPC 2.0 Interface (jsonrpc2.js) version 0.1.2";
|
||||
exports.AUTHOR = "abuse@catswords.net";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
|
Loading…
Reference in New Issue
Block a user