2020年6月3日

使用websocket

摘要: 一.建立scoket服务 yarn add ws const WebSocket = require('ws'); // 定义websocket服务器 const wsServer = new WebSocket.Server({ port: 5000 }); // 定义连接到的websocket集 阅读全文

posted @ 2020-06-03 14:04 秃了头也不退休 阅读(309) 评论(0) 推荐(0) 编辑

导航