hide info

This commit is contained in:
peter
2019-09-18 02:24:40 +02:00
parent 2f32d7c9cd
commit 17dc58c5b3
4 changed files with 23 additions and 47 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ new RPCSocketServer_1.RPCSocketServer(20000, [{
name: 'echo',
func: async (s) => s,
}],
}], "0.0.0.0");
}]);
const caller = new RPCSocket_1.RPCSocket(20000, 'localhost');
caller.connect().then(_ => {
caller.info().then(console.log);