1
0
mirror of https://github.com/Daotin/Web.git synced 2024-11-01 05:24:46 +08:00

Update 08-session验证,上传图片,websocket通信.md

This commit is contained in:
前端队长 2022-08-18 08:43:23 +08:00 committed by GitHub
parent e991cef257
commit 9f204dbd9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -442,7 +442,7 @@ ws.on('connection', client => {
// 数据存放在event.data里面
console.log(event.data)
}
// 客户端主动断开连接
// 服务器主动断开连接
ws.onclose = function(event){}
// 连接出错