4.3.23 flag_volatile
io.on('connection',socket=>{
socket.volatile.emit('an event',{some:"data"}); //客户可能会收到,也可能不会收到。
})Last updated
Was this helpful?
io.on('connection',socket=>{
socket.volatile.emit('an event',{some:"data"}); //客户可能会收到,也可能不会收到。
})Last updated
Was this helpful?
Was this helpful?