update reconnect documentation

This commit is contained in:
Erik Little 2018-01-05 09:25:54 -05:00
parent c395fa3f0f
commit 9224e2b3e6
No known key found for this signature in database
GPG Key ID: 62F837E56F4E9320

View File

@ -414,7 +414,8 @@ open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDa
/// Tries to reconnect to the server. /// Tries to reconnect to the server.
/// ///
/// This will cause a `disconnect` event to be emitted, as well as an `reconnectAttempt` event. /// This will cause a `SocketClientEvent.reconnect` event to be emitted, as well as
/// `SocketClientEvent.reconnectAttempt` events.
open func reconnect() { open func reconnect() {
guard !reconnecting else { return } guard !reconnecting else { return }