socket.io-client-swift icon indicating copy to clipboard operation
socket.io-client-swift copied to clipboard

Not able to socket disconnect on specific event

Open bhorvinayak opened this issue 4 years ago • 0 comments

Versions: SocketIO : 15.2.0 iOS: 14.0

Below code I used for disconnect specific event

socket.emit("disconnect","(self.defaults.value(forKey: BDConstant.kUserSellerId) ?? "")") socket.disconnect()

I need to disconnect this event before starting new event.

bhorvinayak avatar Feb 26 '21 07:02 bhorvinayak