Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
wss.on('connection', (ws) => {
console.log('new ws connection');
this.rpc = new RpcExtensionWebSockets(ws);
//TODO: Use RPC to send it to the browser log (as a collapsed pannel in Vue)
const logger: YouiLog = new ServerLog(this.rpc);
this.yeomanui = new YeomanUI(this.rpc, logger);
});
}