Skip to content

Commit 8d16a83

Browse files
committed
fix method name in docs
1 parent b6d0a15 commit 8d16a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/SocketIOClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, So
426426

427427
/// Removes handler(s) based on an event name.
428428
///
429-
/// If you wish to remove a specific event, call the `off(if:)` with the UUID received from its `on` call.
429+
/// If you wish to remove a specific event, call the `off(id:)` with the UUID received from its `on` call.
430430
///
431431
/// - parameter event: The event to remove handlers for.
432432
open func off(_ event: String) {

0 commit comments

Comments
 (0)