nuclearace / Socket.IO-Client-Swift

socket.io-client for Swift
Other
361 stars 53 forks source link

Server disconnection #94

Closed Krystel closed 8 years ago

Krystel commented 8 years ago

Hi, thanks a lot for this library! I don't know if the question has been asked before or not, but is there a way to catch if/when the server gets disconnected or loses connection with the client?

It's kind of crucial for me to handle the client's app behaviour when the server is not responding or the socket connection is lost from the server side.

P.S. I am using socket.io with Objective-C

Thank you!