This commit is contained in:
Daniel Hübleitner
2019-09-18 02:59:23 +02:00
4 changed files with 510 additions and 0 deletions
+4
View File
@@ -12,7 +12,11 @@ new Server_1.Server(20000, [{
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);