2.4.4 粘性负载均衡
Error during WebSocket handshake: Unexpected response code: 400io.emit('hi',"all sockets")const client = io('https://io.yourhost.com',{
//警告:在这种情况下,没有回滚到长轮询
transports:["websocket"] // 或者 [ 'websocket', 'polling' ], 这两者都一样
})Last updated
Was this helpful?