fix method name in docs

This commit is contained in:
Erik 2017-05-07 12:39:54 -04:00
parent b6d0a1541a
commit 8d16a8312d
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D

View File

@ -426,7 +426,7 @@ open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, So
/// Removes handler(s) based on an event name. /// Removes handler(s) based on an event name.
/// ///
/// If you wish to remove a specific event, call the `off(if:)` with the UUID received from its `on` call. /// If you wish to remove a specific event, call the `off(id:)` with the UUID received from its `on` call.
/// ///
/// - parameter event: The event to remove handlers for. /// - parameter event: The event to remove handlers for.
open func off(_ event: String) { open func off(_ event: String) {