hide info
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user