策码奔腾
摘要: 一,前端页面 1.原生请求 //建立连接 this.websocket = new WebSocket('ws://localhost:8085/websocket/user?token='+auth); //接收 this.websocket.onmessage = function(e){ co 阅读全文
posted @ 2022-01-27 10:18 策码奔腾 阅读(4052) 评论(0) 推荐(1) 编辑
console.log('欢迎');