摘要: ws = new WebSocket(`ws://${location.host}/xxx`) ws.onopen = () => { ws.send(JSON.stringify({ headers: { Authorization: `Bearer ${token}` } })); isConn 阅读全文
posted @ 2023-07-15 18:55 zhaogaojian 阅读(182) 评论(0) 推荐(0) 编辑