nuclearace / socket.io-client-swift-example

An example of socket.io-client for Swift
176 stars 65 forks source link

Where is the disconnect method called? #17

Open BraveEvidence opened 4 years ago

BraveEvidence commented 4 years ago

I went through the sample and I can't see the disconnect method for disconnecting the socket.

I have called the socket.disconnect in deinit method of my iOS app. Is this the right way of doing it?

Thanks a lot for this library.