4.3.27 event_disconnecting
io.on('connection',socket=>{
socket.on('disconnecting',reason=>{
let rooms= Object.keys(socket.rooms)
})
})Last updated
Was this helpful?
io.on('connection',socket=>{
socket.on('disconnecting',reason=>{
let rooms= Object.keys(socket.rooms)
})
})Last updated
Was this helpful?
Was this helpful?