... 將express 交給SocketServer 開啟WebSocket 的服務 const wss = new SocketServer({ server }) //當有client 連線成功時 wss.on('connection', ...
確定! 回上一頁