wsc:WebSocket挑战

时间:2024-05-16 12:52:40
【文件属性】:

文件名称:wsc:WebSocket挑战

文件大小:114KB

文件格式:ZIP

更新时间:2024-05-16 12:52:40

JavaScript

WebSocket挑战 解决挑战: 创建WebSocket并设置binaryType = "arraybuffer" ; 登记: /** Think about cool participant name and then send a registration message **/ { "name" : "SuperHero" , "command" : "challenge accepted" } 服务器将响应: /** Message contains an authentication token which you will attach to your messages for identification and the next task name. **/ { "message" : "You successfully accept chall


网友评论