"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Server_1 = require("../src/Server"); //@ts-ignore const Client_1 = require("../src/Client"); new Server_1.Server(20000, [{ name: "HelloWorldRPCGroup", exportPublicRPCs: () => [], exportRPCs: () => [{ type: 'call', name: 'echo', func: async (s) => s, }], }]); <<<<<<< HEAD const caller = new Client_1.Client(20000, 'localhost'); ======= const caller = new RPCSocket_1.RPCSocket(20000, 'localhost'); >>>>>>> 17dc58c5b3fd3c76113d592d895400498578affa caller.connect().then(_ => { caller.info().then(console.log); caller["HelloWorldRPCGroup"].echo("x").then(console.log); });