1 安装socket.io模块npm install "socket.io": "latest" 2 app.js相关ws = require('socket.io'); //依赖该模块let server = http.createServer(app).listen(300); ...
確定! 回上一頁