3.3.4 socket.open()
const socket=io({
autoConnect:false
})
// ...
socket.open()socket.on('disconnect',()=>{
socket.open()
})Last updated
Was this helpful?
const socket=io({
autoConnect:false
})
// ...
socket.open()socket.on('disconnect',()=>{
socket.open()
})Last updated
Was this helpful?
Was this helpful?