mirror of
https://github.com/dreamstarsky/runbin.git
synced 2026-05-15 22:33:09 +00:00
9 lines
354 B
JavaScript
9 lines
354 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var _1 = require(".");
|
|
var t = new _1.HTTPTransport("http://localhost:3333");
|
|
var c = new _1.Client(new _1.RequestManager([t]));
|
|
c.request({ method: "addition", params: [2, 2] }).then(function (result) {
|
|
console.log('addition result: ', result); // tslint:disable-line
|
|
});
|