WebSocket报错:Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but
Error during WebSocket handshake: Sent non-empty ‘Sec-WebSocket-Protocol’ header but no response was receivedWebSocket握手阶段出错:发送了非空“Sec-WebSocket-Protocol”请求头但是响应中没有此字段这个,在后端握手时设置一下请求头(Sec-WebSocket...
原创
2019-01-31 18:00:53 ·
13229 阅读 ·
1 评论