摘要: 客户端 html结构 <input type="text"> <button onclick="sendServer()">send</button> js代码 const ws = new WebSocket('ws://localhost:8080/')// 参数是要连接的服务器地址 // 已经 阅读全文
posted @ 2019-02-21 12:23 喵喵66 阅读(1046) 评论(0) 推荐(0)