Skip to content

Commit 9224e2b

Browse files
committed
update reconnect documentation
1 parent c395fa3 commit 9224e2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/SocketIO/Manager/SocketManager.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,8 @@ open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDa
414414

415415
/// Tries to reconnect to the server.
416416
///
417-
/// This will cause a `disconnect` event to be emitted, as well as an `reconnectAttempt` event.
417+
/// This will cause a `SocketClientEvent.reconnect` event to be emitted, as well as
418+
/// `SocketClientEvent.reconnectAttempt` events.
418419
open func reconnect() {
419420
guard !reconnecting else { return }
420421

0 commit comments

Comments
 (0)