PusherClientOptions
@objcMembers
@objc
public class PusherClientOptions : NSObject
Undocumented
-
Undocumented
Declaration
Swift
public var authMethod: AuthMethod
-
Undocumented
Declaration
Swift
public let attemptToReturnJSONObject: Bool
-
Undocumented
Declaration
Swift
public let autoReconnect: Bool
-
Undocumented
Declaration
Swift
public let host: String
-
Undocumented
Declaration
Swift
public let port: Int
-
Undocumented
Declaration
Swift
public let path: String?
-
Undocumented
Declaration
Swift
public let useTLS: Bool
-
Undocumented
Declaration
Swift
public let activityTimeout: TimeInterval?
-
Undocumented
Declaration
Swift
@nonobjc public init( authMethod: AuthMethod = .noMethod, attemptToReturnJSONObject: Bool = true, autoReconnect: Bool = true, host: PusherHost = .defaultHost, port: Int? = nil, path: String? = nil, useTLS: Bool = true, activityTimeout: TimeInterval? = nil )
-
Undocumented
Declaration
Swift
convenience init( ocAuthMethod authMethod: OCAuthMethod, autoReconnect: Bool = true, ocHost host: OCPusherHost = PusherHost.defaultHost.toObjc(), port: NSNumber? = nil, useTLS: Bool = true, activityTimeout: NSNumber? = nil )
-
Undocumented
Declaration
Swift
convenience init( ocAuthMethod authMethod: OCAuthMethod, attemptToReturnJSONObject: Bool = true, autoReconnect: Bool = true, ocHost host: OCPusherHost = PusherHost.defaultHost.toObjc(), port: NSNumber? = nil, useTLS: Bool = true, activityTimeout: NSNumber? = nil )
-
Undocumented
Declaration
Swift
convenience init(authMethod: OCAuthMethod)
-
Undocumented
Declaration
Swift
func setAuthMethod(authMethod: OCAuthMethod)