From a3d443268ad7f981cb7d50365570c2d51aaf9b17 Mon Sep 17 00:00:00 2001 From: Erik Little Date: Sun, 29 Jul 2018 10:34:17 -0400 Subject: [PATCH] bump version --- CHANGELOG.md | 4 + README.md | 6 +- Socket.IO-Client-Swift.podspec | 4 +- docs/12to13.html | 6 +- docs/Classes.html | 235 ++++++------- docs/Classes/OnAckCallback.html | 7 +- docs/Classes/SSLSecurity.html | 7 +- docs/Classes/SocketAckEmitter.html | 12 +- docs/Classes/SocketAnyEvent.html | 12 +- docs/Classes/SocketEngine.html | 47 +-- docs/Classes/SocketIOClient.html | 80 +++-- docs/Classes/SocketManager.html | 28 +- docs/Classes/SocketRawAckView.html | 7 +- docs/Classes/SocketRawView.html | 10 +- docs/Enums.html | 137 ++++---- docs/Enums/SocketAckStatus.html | 11 +- docs/Enums/SocketClientEvent.html | 39 +-- docs/Enums/SocketEnginePacketType.html | 31 +- docs/Enums/SocketIOClientOption.html | 80 +---- docs/Enums/SocketIOStatus.html | 30 +- docs/Enums/SocketParsableError.html | 19 +- docs/Guides.html | 5 +- docs/Protocols.html | 326 +++++++++--------- docs/Protocols/ConfigSettable.html | 4 +- docs/Protocols/SocketData.html | 4 +- docs/Protocols/SocketDataBufferable.html | 8 +- docs/Protocols/SocketEngineClient.html | 7 +- docs/Protocols/SocketEnginePollable.html | 14 +- docs/Protocols/SocketEngineSpec.html | 48 +-- docs/Protocols/SocketEngineWebsocket.html | 4 +- docs/Protocols/SocketIOClientSpec.html | 18 +- docs/Protocols/SocketLogger.html | 8 +- docs/Protocols/SocketManagerSpec.html | 28 +- docs/Protocols/SocketParsable.html | 6 +- docs/Structs.html | 5 +- docs/Structs/SocketEventHandler.html | 4 +- docs/Structs/SocketIOClientConfiguration.html | 20 +- docs/Structs/SocketPacket.html | 14 +- docs/Structs/SocketPacket/PacketType.html | 75 ++-- docs/Typealiases.html | 5 +- docs/faq.html | 4 +- docs/index.html | 10 +- docs/search.json | 2 +- 43 files changed, 700 insertions(+), 731 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5575ba3..782da41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v13.3.0 + +- Copy cookies from polling to WebSockets ([#1057](https://github.com/socketio/socket.io-client-swift/issues/1057), [#1058](https://github.com/socketio/socket.io-client-swift/issues/1058)) + # v13.2.1 - Fix packets getting lost when WebSocket upgrade fails. [#1033](https://github.com/socketio/socket.io-client-swift/issues/1033) diff --git a/README.md b/README.md index b0fcb36..eea6ed0 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ let package = Package( .executable(name: "socket.io-test", targets: ["YourTargetName"]) ], dependencies: [ - .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMinor(from: "13.2.0")) + .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMinor(from: "13.3.0")) ], targets: [ .target(name: "YourTargetName", dependencies: ["SocketIO"], path: "./Path/To/Your/Sources") @@ -99,7 +99,7 @@ Then import `import SocketIO`. ### Carthage Add this line to your `Cartfile`: ``` -github "socketio/socket.io-client-swift" ~> 13.2.0 +github "socketio/socket.io-client-swift" ~> 13.3.0 ``` Run `carthage update --platform ios,macosx`. @@ -113,7 +113,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`: use_frameworks! target 'YourApp' do - pod 'Socket.IO-Client-Swift', '~> 13.2.0' + pod 'Socket.IO-Client-Swift', '~> 13.3.0' end ``` diff --git a/Socket.IO-Client-Swift.podspec b/Socket.IO-Client-Swift.podspec index d6c3b72..24a9545 100644 --- a/Socket.IO-Client-Swift.podspec +++ b/Socket.IO-Client-Swift.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Socket.IO-Client-Swift" s.module_name = "SocketIO" - s.version = "13.2.1" + s.version = "13.3.0" s.summary = "Socket.IO-client for iOS and OS X" s.description = <<-DESC Socket.IO-client for iOS and OS X. @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.source = { :git => "https://github.com/socketio/socket.io-client-swift.git", - :tag => 'v13.2.1', + :tag => 'v13.3.0', :submodules => true } s.pod_target_xcconfig = { diff --git a/docs/12to13.html b/docs/12to13.html index 84cee3e..480603b 100644 --- a/docs/12to13.html +++ b/docs/12to13.html @@ -270,7 +270,7 @@ will fire a connect event.

The difference is that if connect() is just called on the manager, then any sockets for that manager that are not the default socket will not automatically connect. connect() will need to be called individually for each socket. However, if connect() -is called on a client, then in addition to opening the connection if needed, the client will connect to the its namespace, +is called on a client, then in addition to opening the connection if needed, the client will connect to its namespace, and a connect event fired.

@@ -280,8 +280,8 @@ and a connect event fired.

diff --git a/docs/Classes.html b/docs/Classes.html index 756d075..efa0b82 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -14,6 +14,7 @@ + @@ -189,39 +190,6 @@
-
- -
  • @@ -365,88 +333,6 @@ Example:

-
-
    -
  • -
    - - - - SSLSecurity - -
    -
    -
    -
    -
    -
    -

    A wrapper around Starscream’s SSLSecurity that provides a minimal Objective-C interface.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    open class SSLSecurity : NSObject
    - -
    -
    -
    -
    -
  • -
-
-
-
    -
  • -
    - - - - SocketManager - -
    -
    -
    -
    -
    -
    -

    A manager for a socket.io connection.

    - -

    A SocketManager is responsible for multiplexing multiple namespaces through a single SocketEngineSpec.

    - -

    Example:

    -
    let manager = SocketManager(socketURL: URL(string:"http://localhost:8080/")!)
    -let defaultNamespaceSocket = manager.defaultSocket
    -let swiftSocket = manager.socket(forNamespace: "/swift")
    -
    -// defaultNamespaceSocket and swiftSocket both share a single connection to the server
    -
    - -

    Sockets created through the manager are retained by the manager. So at the very least, a single strong reference -to the manager must be maintained to keep sockets alive.

    - -

    To disconnect a socket and remove it from the manager, either call SocketIOClient.disconnect() on the socket, -or call one of the disconnectSocket methods on this class.

    - -

    NOTE: The manager is not thread/queue safe, all interaction with the manager should be done on the handleQueue

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDataBufferable, ConfigSettable
    - -
    -
    -
    -
    -
  • -
-
  • @@ -515,14 +401,129 @@ or call one of the disconnectSocket methods on this class.

+
+ +
+
+
    +
  • +
    + + + + SocketManager + +
    +
    +
    +
    +
    +
    +

    A manager for a socket.io connection.

    + +

    A SocketManager is responsible for multiplexing multiple namespaces through a single SocketEngineSpec.

    + +

    Example:

    +
    let manager = SocketManager(socketURL: URL(string:"http://localhost:8080/")!)
    +let defaultNamespaceSocket = manager.defaultSocket
    +let swiftSocket = manager.socket(forNamespace: "/swift")
    +
    +// defaultNamespaceSocket and swiftSocket both share a single connection to the server
    +
    + +

    Sockets created through the manager are retained by the manager. So at the very least, a single strong reference +to the manager must be maintained to keep sockets alive.

    + +

    To disconnect a socket and remove it from the manager, either call SocketIOClient.disconnect() on the socket, +or call one of the disconnectSocket methods on this class.

    + +

    NOTE: The manager is not thread/queue safe, all interaction with the manager should be done on the handleQueue

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDataBufferable, ConfigSettable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + SSLSecurity + +
    +
    +
    +
    +
    +
    +

    A wrapper around Starscream’s SSLSecurity that provides a minimal Objective-C interface.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class SSLSecurity : NSObject
    + +
    +
    +
    +
    +
  • +
+
diff --git a/docs/Classes/OnAckCallback.html b/docs/Classes/OnAckCallback.html index c8499bb..65a96f7 100644 --- a/docs/Classes/OnAckCallback.html +++ b/docs/Classes/OnAckCallback.html @@ -231,7 +231,8 @@ Example:

Declaration

Swift

-
public func timingOut(after seconds: Double, callback: @escaping AckCallback)
+
@objc
+public func timingOut(after seconds: Double, callback: @escaping AckCallback)
@@ -278,8 +279,8 @@ Example:

diff --git a/docs/Classes/SSLSecurity.html b/docs/Classes/SSLSecurity.html index 7a512cc..c68d72f 100644 --- a/docs/Classes/SSLSecurity.html +++ b/docs/Classes/SSLSecurity.html @@ -264,7 +264,8 @@ pinning validation

Declaration

Swift

-
public convenience init(usePublicKeys: Bool = true)
+
@objc
+public convenience init(usePublicKeys: Bool = true)
@@ -424,8 +425,8 @@ validation

diff --git a/docs/Classes/SocketAckEmitter.html b/docs/Classes/SocketAckEmitter.html index 24504cf..ffb3616 100644 --- a/docs/Classes/SocketAckEmitter.html +++ b/docs/Classes/SocketAckEmitter.html @@ -226,7 +226,8 @@

Declaration

Swift

-
public private(set) lazy var rawEmitView = SocketRawAckView(socket: socket, ackNum: ackNum)
+
@objc
+public private(set) lazy var rawEmitView: SocketRawAckView { get set }
@@ -264,7 +265,7 @@

Declaration

Swift

-
public var expected: Bool
+
public var expected: Bool { get }
@@ -420,7 +421,8 @@ will be emitted. The structure of the error data is [ackNum, items, theErr

Declaration

Swift

-
public func with(_ items: [Any])
+
@objc
+public func with(_ items: [Any])
@@ -454,8 +456,8 @@ will be emitted. The structure of the error data is [ackNum, items, theErr diff --git a/docs/Classes/SocketAnyEvent.html b/docs/Classes/SocketAnyEvent.html index 7a86947..79ea6e7 100644 --- a/docs/Classes/SocketAnyEvent.html +++ b/docs/Classes/SocketAnyEvent.html @@ -225,7 +225,8 @@

Declaration

Swift

-
public let event: String
+
@objc
+public let event: String
@@ -252,7 +253,8 @@

Declaration

Swift

-
public let items: [Any]?
+
@objc
+public let items: [Any]?
@@ -279,7 +281,7 @@

Declaration

Swift

-
override public var description: String
+
override public var description: String { get }
@@ -294,8 +296,8 @@ diff --git a/docs/Classes/SocketEngine.html b/docs/Classes/SocketEngine.html index 26f6819..68178f1 100644 --- a/docs/Classes/SocketEngine.html +++ b/docs/Classes/SocketEngine.html @@ -226,7 +226,7 @@ See SocketEnginePollable<

Declaration

Swift

-
public let engineQueue = DispatchQueue(label: "com.socketio.engineHandleQueue")
+
public let engineQueue: DispatchQueue
@@ -253,7 +253,7 @@ See
SocketEnginePollable<

Declaration

Swift

-
public var connectParams: [String: Any]?
+
public var connectParams: [String : Any]? { get set }
@@ -280,7 +280,7 @@ See
SocketEnginePollable<

Declaration

Swift

-
public var extraHeaders: [String: String]?
+
public var extraHeaders: [String : String]?
@@ -309,7 +309,7 @@ See
SocketEnginePollable<

Declaration

Swift

-
public var postWait = [String]()
+
public var postWait: [String]
@@ -339,7 +339,7 @@ disconnect us.

Declaration

Swift

-
public var waitingForPoll = false
+
public var waitingForPoll: Bool
@@ -369,7 +369,7 @@ disconnect us.

Declaration

Swift

-
public var waitingForPost = false
+
public var waitingForPost: Bool
@@ -396,7 +396,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var closed = false
+
public private(set) var closed: Bool
@@ -423,7 +423,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var compress = false
+
public private(set) var compress: Bool
@@ -450,7 +450,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var connected = false
+
public private(set) var connected: Bool
@@ -506,7 +506,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var fastUpgrade = false
+
public private(set) var fastUpgrade: Bool
@@ -533,7 +533,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var forcePolling = false
+
public private(set) var forcePolling: Bool
@@ -560,7 +560,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var forceWebsockets = false
+
public private(set) var forceWebsockets: Bool
@@ -587,7 +587,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var invalidated = false
+
public private(set) var invalidated: Bool
@@ -614,7 +614,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var polling = true
+
public private(set) var polling: Bool
@@ -641,7 +641,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var probing = false
+
public private(set) var probing: Bool
@@ -695,7 +695,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var sid = ""
+
public private(set) var sid: String
@@ -722,7 +722,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var socketPath = "/engine.io/"
+
public private(set) var socketPath: String
@@ -749,7 +749,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var urlPolling = URL(string: "http://localhost/")!
+
public private(set) var urlPolling: URL
@@ -776,7 +776,7 @@ disconnect us.

Declaration

Swift

-
public private(set) var urlWebSocket = URL(string: "http://localhost/")!
+
public private(set) var urlWebSocket: URL
@@ -803,7 +803,8 @@ disconnect us.

Declaration

Swift

-
public private(set) var websocket = false
+
@available(*, deprecated, message: "No longer needed, if we're not polling, then we must be doing websockets")
+public private(set) var websocket: Bool
@@ -965,7 +966,7 @@ disconnect us.

Declaration

Swift

-
public required convenience init(client: SocketEngineClient, url: URL, options: [String: Any]?)
+
public required convenience init(client: SocketEngineClient, url: URL, options: [String : Any]?)
@@ -1423,8 +1424,8 @@ the engine is attempting to upgrade to WebSocket it does not do any POSTing.

diff --git a/docs/Classes/SocketIOClient.html b/docs/Classes/SocketIOClient.html index db1cb1f..304a64f 100644 --- a/docs/Classes/SocketIOClient.html +++ b/docs/Classes/SocketIOClient.html @@ -238,7 +238,8 @@

Declaration

Swift

-
public let nsp: String
+
@objc
+public let nsp: String
@@ -265,7 +266,8 @@

Declaration

Swift

-
public var sid: String
+
@objc
+public var sid: String { get }
@@ -319,7 +321,7 @@

Declaration

Swift

-
public private(set) var handlers = [SocketEventHandler]()
+
public private(set) var handlers: [SocketEventHandler]
@@ -346,7 +348,8 @@

Declaration

Swift

-
public private(set) weak var manager: SocketManagerSpec?
+
@objc
+public private(set) weak var manager: SocketManagerSpec?
@@ -379,7 +382,8 @@

Declaration

Swift

-
public private(set) lazy var rawEmitView = SocketRawView(socket: self)
+
@objc
+public private(set) lazy var rawEmitView: SocketRawView { get set }
@@ -406,7 +410,8 @@

Declaration

Swift

-
public private(set) var status = SocketIOStatus.notConnected
+
@objc
+public private(set) var status: SocketIOStatus { get set }
@@ -444,7 +449,8 @@

Declaration

Swift

-
public init(manager: SocketManagerSpec, nsp: String)
+
@objc
+public init(manager: SocketManagerSpec, nsp: String)
@@ -515,7 +521,8 @@

Declaration

Swift

-
open func connect()
+
@objc
+open func connect()
@@ -544,7 +551,8 @@

Declaration

Swift

-
open func connect(timeoutAfter: Double, withHandler handler: (() -> ())?)
+
@objc
+open func connect(timeoutAfter: Double, withHandler handler: (() -> ())?)
@@ -699,7 +707,8 @@ then this is only called when the client connects to that namespace.

Declaration

Swift

-
open func disconnect()
+
@objc
+open func disconnect()
@@ -787,7 +796,8 @@ will be emitted. The structure of the error data is [eventName, items, the

Declaration

Swift

-
open func emit(_ event: String, with items: [Any])
+
@objc
+open func emit(_ event: String, with items: [Any])
@@ -928,7 +938,8 @@ Check that your server’s api will ack the event being sent.

Declaration

Swift

-
open func emitWithAck(_ event: String, with items: [Any]) -> OnAckCallback
+
@objc
+open func emitWithAck(_ event: String, with items: [Any]) -> OnAckCallback
@@ -1050,7 +1061,8 @@ Check that your server’s api will ack the event being sent.

Declaration

Swift

-
open func handleAck(_ ack: Int, data: [Any])
+
@objc
+open func handleAck(_ ack: Int, data: [Any])
@@ -1166,7 +1178,8 @@ Check that your server’s api will ack the event being sent.

Declaration

Swift

-
open func handleEvent(_ event: String, data: [Any], isInternalMessage: Bool, withAck ack: Int = -1)
+
@objc
+open func handleEvent(_ event: String, data: [Any], isInternalMessage: Bool, withAck ack: Int = -1)
@@ -1295,7 +1308,8 @@ socket.

Declaration

Swift

-
open func leaveNamespace()
+
@objc
+open func leaveNamespace()
@@ -1322,7 +1336,8 @@ socket.

Declaration

Swift

-
open func joinNamespace()
+
@objc
+open func joinNamespace()
@@ -1399,7 +1414,8 @@ socket.

Declaration

Swift

-
open func off(_ event: String)
+
@objc
+open func off(_ event: String)
@@ -1447,7 +1463,8 @@ socket.

Declaration

Swift

-
open func off(id: UUID)
+
@objc
+open func off(id: UUID)
@@ -1493,7 +1510,9 @@ socket.

Declaration

Swift

-
open func on(_ event: String, callback: @escaping NormalCallback) -> UUID
+
@discardableResult
+@objc
+open func on(_ event: String, callback: @escaping NormalCallback) -> UUID
@@ -1561,7 +1580,8 @@ socket.

Declaration

Swift

-
open func on(clientEvent event: SocketClientEvent, callback: @escaping NormalCallback) -> UUID
+
@discardableResult
+open func on(clientEvent event: SocketClientEvent, callback: @escaping NormalCallback) -> UUID
@@ -1623,7 +1643,8 @@ socket.

Declaration

Swift

-
open func once(clientEvent event: SocketClientEvent, callback: @escaping NormalCallback) -> UUID
+
@discardableResult
+open func once(clientEvent event: SocketClientEvent, callback: @escaping NormalCallback) -> UUID
@@ -1685,7 +1706,9 @@ socket.

Declaration

Swift

-
open func once(_ event: String, callback: @escaping NormalCallback) -> UUID
+
@discardableResult
+@objc
+open func once(_ event: String, callback: @escaping NormalCallback) -> UUID
@@ -1747,7 +1770,8 @@ socket.

Declaration

Swift

-
open func onAny(_ handler: @escaping (SocketAnyEvent) -> ())
+
@objc
+open func onAny(_ handler: @escaping (SocketAnyEvent) -> ())
@@ -1795,7 +1819,8 @@ socket.

Declaration

Swift

-
open func removeAllHandlers()
+
@objc
+open func removeAllHandlers()
@@ -1823,7 +1848,8 @@ Called when the manager detects a broken connection, or when a manual reconnect

Declaration

Swift

-
open func setReconnecting(reason: String)
+
@objc
+open func setReconnecting(reason: String)
@@ -1857,8 +1883,8 @@ Called when the manager detects a broken connection, or when a manual reconnect diff --git a/docs/Classes/SocketManager.html b/docs/Classes/SocketManager.html index d1e8918..3513a73 100644 --- a/docs/Classes/SocketManager.html +++ b/docs/Classes/SocketManager.html @@ -243,7 +243,7 @@ or call one of the disconnectSocket methods on this class.

Declaration

Swift

-
public var defaultSocket: SocketIOClient
+
public var defaultSocket: SocketIOClient { get }
@@ -302,7 +302,7 @@ init.

Declaration

Swift

-
public var config: SocketIOClientConfiguration
+
public var config: SocketIOClientConfiguration { get set }
@@ -356,7 +356,7 @@ init.

Declaration

Swift

-
public var forceNew = false
+
public var forceNew: Bool
@@ -386,7 +386,7 @@ called on.

Declaration

Swift

-
public var handleQueue = DispatchQueue.main
+
public var handleQueue: DispatchQueue
@@ -413,7 +413,7 @@ called on.

Declaration

Swift

-
public var nsps = [String: SocketIOClient]()
+
public var nsps: [String : SocketIOClient]
@@ -440,7 +440,7 @@ called on.

Declaration

Swift

-
public var reconnects = true
+
public var reconnects: Bool
@@ -467,7 +467,7 @@ called on.

Declaration

Swift

-
public var reconnectWait = 10
+
public var reconnectWait: Int
@@ -494,7 +494,7 @@ called on.

Declaration

Swift

-
public private(set) var status: SocketIOStatus = .notConnected
+
public private(set) var status: SocketIOStatus { get set }
@@ -526,7 +526,7 @@ So this should ideally be an array of one packet waiting for data.

Declaration

Swift

-
public var waitingPackets = [SocketPacket]()
+
public var waitingPackets: [SocketPacket]
@@ -623,7 +623,8 @@ If using Swift it’s recommended to use init(socketURL: NSURL, option

Declaration

Swift

-
public convenience init(socketURL: URL, config: [String: Any]?)
+
@objc
+public convenience init(socketURL: URL, config: [String : Any]?)
@@ -1419,7 +1420,8 @@ method.

Declaration

Swift

-
open func removeSocket(_ socket: SocketIOClient) -> SocketIOClient?
+
@discardableResult
+open func removeSocket(_ socket: SocketIOClient) -> SocketIOClient?
@@ -1542,8 +1544,8 @@ Or call -

© 2018 Erik. All rights reserved. (Last updated: 2018-05-16)

-

Generated by jazzy ♪♫ v0.9.1, a Realm project.

+

© 2018 Erik. All rights reserved. (Last updated: 2018-07-29)

+

Generated by jazzy ♪♫ v0.9.3, a Realm project.

diff --git a/docs/Classes/SocketRawAckView.html b/docs/Classes/SocketRawAckView.html index c7fe894..ee00b0c 100644 --- a/docs/Classes/SocketRawAckView.html +++ b/docs/Classes/SocketRawAckView.html @@ -271,7 +271,8 @@ will be emitted. The structure of the error data is [ackNum, items, theErr

Declaration

Swift

-
public func with(_ items: [Any])
+
@objc
+public func with(_ items: [Any])
@@ -305,8 +306,8 @@ will be emitted. The structure of the error data is [ackNum, items, theErr diff --git a/docs/Classes/SocketRawView.html b/docs/Classes/SocketRawView.html index 89c13c7..eb2580c 100644 --- a/docs/Classes/SocketRawView.html +++ b/docs/Classes/SocketRawView.html @@ -283,7 +283,8 @@ will be emitted. The structure of the error data is [eventName, items, the

Declaration

Swift

-
public func emit(_ event: String, with items: [Any])
+
@objc
+public func emit(_ event: String, with items: [Any])
@@ -424,7 +425,8 @@ Check that your server’s api will ack the event being sent.

Declaration

Swift

-
public func emitWithAck(_ event: String, with items: [Any]) -> OnAckCallback
+
@objc
+public func emitWithAck(_ event: String, with items: [Any]) -> OnAckCallback
@@ -474,8 +476,8 @@ Check that your server’s api will ack the event being sent.

diff --git a/docs/Enums.html b/docs/Enums.html index 9a598d2..1cca4a4 100644 --- a/docs/Enums.html +++ b/docs/Enums.html @@ -14,6 +14,7 @@ + @@ -189,38 +190,6 @@
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Represents the type of engine.io packet types.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @objc public enum SocketEnginePacketType : Int
    - -
    -
    -
    -
    -
  • -
-
  • @@ -253,38 +222,6 @@
-
-
    -
  • -
    - - - - SocketClientEvent - -
    -
    -
    -
    -
    -
    -

    The set of events that are generated by the client.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public enum SocketClientEvent : String
    - -
    -
    -
    -
    -
  • -
-
  • @@ -317,6 +254,38 @@
+
+
    +
  • +
    + + + + SocketClientEvent + +
    +
    +
    +
    +
    +
    +

    The set of events that are generated by the client.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum SocketClientEvent : String
    + +
    +
    +
    +
    +
  • +
+
  • @@ -340,7 +309,41 @@

    Declaration

    Swift

    -
    public enum SocketIOStatus : Int, CustomStringConvertible
    +
    @objc
    +public enum SocketIOStatus : Int, CustomStringConvertible
    + +
    +
+
+ + + + +
+
    +
  • + +
    +
    +
    +
    +
    +

    Represents the type of engine.io packet types.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc
    +public enum SocketEnginePacketType : Int
    @@ -387,8 +390,8 @@
diff --git a/docs/Enums/SocketAckStatus.html b/docs/Enums/SocketAckStatus.html index a7e513e..60c5f19 100644 --- a/docs/Enums/SocketAckStatus.html +++ b/docs/Enums/SocketAckStatus.html @@ -197,6 +197,13 @@
+
+ + + +

Cases

+
+
diff --git a/docs/Enums/SocketClientEvent.html b/docs/Enums/SocketClientEvent.html index bc04538..d6d89d7 100644 --- a/docs/Enums/SocketClientEvent.html +++ b/docs/Enums/SocketClientEvent.html @@ -197,6 +197,13 @@
+
+ + + +

Cases

+
+
  • @@ -231,10 +238,6 @@ data item: the namespace that was connected to.

- - -
-
  • @@ -268,10 +271,6 @@ data item: the namespace that was connected to.

- - -
-
  • @@ -305,10 +304,6 @@ data item: the namespace that was connected to.

  • -
-
-
-
  • @@ -342,10 +337,6 @@ data item: the namespace that was connected to.

  • -
-
-
-
  • @@ -379,10 +370,6 @@ data item: the namespace that was connected to.

  • -
-
-
-
  • @@ -416,10 +403,6 @@ data item: the namespace that was connected to.

  • -
-
-
-
  • @@ -453,10 +436,6 @@ data item: the namespace that was connected to.

  • -
-
-
-
  • @@ -498,8 +477,8 @@ data item: the namespace that was connected to.

diff --git a/docs/Enums/SocketEnginePacketType.html b/docs/Enums/SocketEnginePacketType.html index f26420e..5857303 100644 --- a/docs/Enums/SocketEnginePacketType.html +++ b/docs/Enums/SocketEnginePacketType.html @@ -185,7 +185,8 @@

SocketEnginePacketType

-
@objc public enum SocketEnginePacketType : Int
+
@objc
+public enum SocketEnginePacketType : Int
@@ -225,10 +226,6 @@ - - -
-
  • @@ -256,10 +253,6 @@
  • -
-
-
-
  • @@ -287,10 +280,6 @@
  • -
-
-
-
  • @@ -318,10 +307,6 @@
  • -
-
-
-
  • @@ -349,10 +334,6 @@
  • -
-
-
-
  • @@ -380,10 +361,6 @@
  • -
-
-
-
diff --git a/docs/Enums/SocketIOClientOption.html b/docs/Enums/SocketIOClientOption.html index 0a408a2..ad19368 100644 --- a/docs/Enums/SocketIOClientOption.html +++ b/docs/Enums/SocketIOClientOption.html @@ -225,10 +225,6 @@ - - -
-
  • @@ -249,17 +245,13 @@

    Declaration

    Swift

    -
    case connectParams([String: Any])
    +
    case connectParams([String : Any])
- - -
-
  • @@ -287,10 +279,6 @@
  • -
-
-
-
  • @@ -311,17 +299,13 @@

    Declaration

    Swift

    -
    case extraHeaders([String: String])
    +
    case extraHeaders([String : String])
- - -
-
  • @@ -350,10 +334,6 @@ or when you want to be sure no state from previous engines is being carried over
  • -
-
-
-
  • @@ -381,10 +361,6 @@ or when you want to be sure no state from previous engines is being carried over
  • -
-
-
-
  • @@ -412,10 +388,6 @@ or when you want to be sure no state from previous engines is being carried over
  • -
-
-
-
  • @@ -446,10 +418,6 @@ called on.

  • -
-
-
-
  • @@ -477,10 +445,6 @@ called on.

  • -
-
-
-
  • @@ -508,10 +472,6 @@ called on.

  • -
-
-
-
  • @@ -539,10 +499,6 @@ called on.

  • -
-
-
-
  • @@ -571,10 +527,6 @@ over when reconnects happen.

  • -
-
-
-
  • @@ -602,10 +554,6 @@ over when reconnects happen.

  • -
-
-
-
  • @@ -633,10 +581,6 @@ over when reconnects happen.

  • -
-
-
-
  • @@ -664,10 +608,6 @@ over when reconnects happen.

  • -
-
-
-
  • @@ -695,10 +635,6 @@ over when reconnects happen.

  • -
-
-
-
  • @@ -726,10 +662,6 @@ over when reconnects happen.

  • -
-
-
-
  • @@ -788,7 +720,7 @@ over when reconnects happen.

    Declaration

    Swift

    -
    public var description: String
    +
    public var description: String { get }
    @@ -826,7 +758,7 @@ over when reconnects happen.

    Declaration

    Swift

    -
    public static func ==(lhs: SocketIOClientOption, rhs: SocketIOClientOption) -> Bool
    +
    public static func == (lhs: SocketIOClientOption, rhs: SocketIOClientOption) -> Bool
@@ -876,8 +808,8 @@ over when reconnects happen.

diff --git a/docs/Enums/SocketIOStatus.html b/docs/Enums/SocketIOStatus.html index 447e74e..4e539f3 100644 --- a/docs/Enums/SocketIOStatus.html +++ b/docs/Enums/SocketIOStatus.html @@ -185,7 +185,8 @@

SocketIOStatus

-
public enum SocketIOStatus : Int, CustomStringConvertible
+
@objc
+public enum SocketIOStatus : Int, CustomStringConvertible
@@ -197,6 +198,13 @@
+
+ + + +

Cases

+
+
  • @@ -225,10 +233,6 @@
- - -
-
  • @@ -256,10 +260,6 @@
  • -
-
-
-
  • @@ -287,10 +287,6 @@
  • -
-
-
-
  • @@ -348,7 +344,7 @@

    Declaration

    Swift

    -
    public var active: Bool
    +
    public var active: Bool { get }
    @@ -378,7 +374,7 @@

    Declaration

    Swift

    -
    public var description: String
    +
    public var description: String { get }
@@ -393,8 +389,8 @@ diff --git a/docs/Enums/SocketParsableError.html b/docs/Enums/SocketParsableError.html index 34f8387..df6f599 100644 --- a/docs/Enums/SocketParsableError.html +++ b/docs/Enums/SocketParsableError.html @@ -197,6 +197,13 @@
+
+ + + +

Cases

+
+
  • @@ -225,10 +232,6 @@
- - -
-
  • @@ -256,10 +259,6 @@
  • -
-
-
-
diff --git a/docs/Guides.html b/docs/Guides.html index 07974d3..f70f3f7 100644 --- a/docs/Guides.html +++ b/docs/Guides.html @@ -14,6 +14,7 @@ + @@ -195,8 +196,8 @@ diff --git a/docs/Protocols.html b/docs/Protocols.html index e9b6287..32ee8cd 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -14,6 +14,7 @@ + @@ -194,9 +195,9 @@
  • @@ -204,15 +205,47 @@
    -

    Specifies a SocketEngine.

    +

    Declares that a type can set configs from a SocketIOClientConfiguration.

    - See more + See more

    Declaration

    Swift

    -
    @objc public protocol SocketEngineSpec
    +
    public protocol ConfigSettable
    + +
    +
    +
    +
    +
  • + + +
    +
      +
    • +
      + + + + SocketIOClientSpec + +
      +
      +
      +
      +
      +
      +

      Defines the interface for a SocketIOClient.

      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public protocol SocketIOClientSpec : AnyObject
      @@ -244,7 +277,8 @@

      Declaration

      Swift

      -
      @objc public protocol SocketEngineClient
      +
      @objc
      +public protocol SocketEngineClient
      @@ -285,6 +319,39 @@
    +
    +
      +
    • +
      + + + + SocketEngineSpec + +
      +
      +
      +
      +
      +
      +

      Specifies a SocketEngine.

      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @objc
      +public protocol SocketEngineSpec
      + +
      +
      +
      +
      +
    • +
    +
    • @@ -322,9 +389,9 @@
    • @@ -332,15 +399,32 @@
      -

      Defines the interface for a SocketIOClient.

      +

      A manager for a socket.io connection.

      - See more +

      A SocketManagerSpec is responsible for multiplexing multiple namespaces through a single SocketEngineSpec.

      + +

      Example with SocketManager:

      +
      let manager = SocketManager(socketURL: URL(string:"http://localhost:8080/")!)
      +let defaultNamespaceSocket = manager.defaultSocket
      +let swiftSocket = manager.socket(forNamespace: "/swift")
      +
      +// defaultNamespaceSocket and swiftSocket both share a single connection to the server
      +
      + +

      Sockets created through the manager are retained by the manager. So at the very least, a single strong reference +to the manager must be maintained to keep sockets alive.

      + +

      To disconnect a socket and remove it from the manager, either call SocketIOClient.disconnect() on the socket, +or call one of the disconnectSocket methods on this class.

      + + See more

      Declaration

      Swift

      -
      public protocol SocketIOClientSpec : class
      +
      @objc
      +public protocol SocketManagerSpec : AnyObject, SocketEngineClient
      @@ -354,9 +438,9 @@
    • @@ -364,15 +448,75 @@
      -

      Declares that a type can set configs from a SocketIOClientConfiguration.

      +

      Defines that a type will be able to parse socket.io-protocol messages.

      - See more + See more

      Declaration

      Swift

      -
      public protocol ConfigSettable
      +
      public protocol SocketParsable : AnyObject
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + SocketDataBufferable + +
      +
      +
      +
      +
      +
      +

      Says that a type will be able to buffer binary data before all data for an event has come in.

      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public protocol SocketDataBufferable : AnyObject
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
      +
    • +
      + + + + SocketLogger + +
      +
      +
      +
      +
      +
      +

      Represents a class will log client events.

      + + See more +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public protocol SocketLogger : AnyObject
      @@ -426,154 +570,14 @@
    -
    -
      -
    • -
      - - - - SocketLogger - -
      -
      -
      -
      -
      -
      -

      Represents a class will log client events.

      - - See more -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public protocol SocketLogger : class
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
      -
    • -
      - - - - SocketParsable - -
      -
      -
      -
      -
      -
      -

      Defines that a type will be able to parse socket.io-protocol messages.

      - - See more -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public protocol SocketParsable : class
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - SocketDataBufferable - -
      -
      -
      -
      -
      -
      -

      Says that a type will be able to buffer binary data before all data for an event has come in.

      - - See more -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public protocol SocketDataBufferable : class
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
      -
    • -
      - - - - SocketManagerSpec - -
      -
      -
      -
      -
      -
      -

      A manager for a socket.io connection.

      - -

      A SocketManagerSpec is responsible for multiplexing multiple namespaces through a single SocketEngineSpec.

      - -

      Example with SocketManager:

      -
      let manager = SocketManager(socketURL: URL(string:"http://localhost:8080/")!)
      -let defaultNamespaceSocket = manager.defaultSocket
      -let swiftSocket = manager.socket(forNamespace: "/swift")
      -
      -// defaultNamespaceSocket and swiftSocket both share a single connection to the server
      -
      - -

      Sockets created through the manager are retained by the manager. So at the very least, a single strong reference -to the manager must be maintained to keep sockets alive.

      - -

      To disconnect a socket and remove it from the manager, either call SocketIOClient.disconnect() on the socket, -or call one of the disconnectSocket methods on this class.

      - - See more -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public protocol SocketManagerSpec : class, SocketEngineClient
      - -
      -
      -
      -
      -
    • -
    -
    diff --git a/docs/Protocols/ConfigSettable.html b/docs/Protocols/ConfigSettable.html index 2c04818..f67a884 100644 --- a/docs/Protocols/ConfigSettable.html +++ b/docs/Protocols/ConfigSettable.html @@ -259,8 +259,8 @@ diff --git a/docs/Protocols/SocketData.html b/docs/Protocols/SocketData.html index 626ac13..ec83516 100644 --- a/docs/Protocols/SocketData.html +++ b/docs/Protocols/SocketData.html @@ -261,8 +261,8 @@ diff --git a/docs/Protocols/SocketDataBufferable.html b/docs/Protocols/SocketDataBufferable.html index 518222b..f50968f 100644 --- a/docs/Protocols/SocketDataBufferable.html +++ b/docs/Protocols/SocketDataBufferable.html @@ -185,7 +185,7 @@

    SocketDataBufferable

    -
    public protocol SocketDataBufferable : class
    +
    public protocol SocketDataBufferable : AnyObject
    @@ -230,7 +230,7 @@ So this should ideally be an array of one packet waiting for data.

    Declaration

    Swift

    -
    var waitingPackets: [SocketPacket]
    +
    var waitingPackets: [SocketPacket] { get set }
    @@ -245,8 +245,8 @@ So this should ideally be an array of one packet waiting for data.

    diff --git a/docs/Protocols/SocketEngineClient.html b/docs/Protocols/SocketEngineClient.html index 6eeacb1..9a1b80e 100644 --- a/docs/Protocols/SocketEngineClient.html +++ b/docs/Protocols/SocketEngineClient.html @@ -185,7 +185,8 @@

    SocketEngineClient

    -
    @objc public protocol SocketEngineClient
    +
    @objc
    +public protocol SocketEngineClient
    @@ -497,8 +498,8 @@ diff --git a/docs/Protocols/SocketEnginePollable.html b/docs/Protocols/SocketEnginePollable.html index 7845817..ba0c9b8 100644 --- a/docs/Protocols/SocketEnginePollable.html +++ b/docs/Protocols/SocketEnginePollable.html @@ -225,7 +225,7 @@

    Declaration

    Swift

    -
    var invalidated: Bool
    +
    var invalidated: Bool { get }
    @@ -254,7 +254,7 @@

    Declaration

    Swift

    -
    var postWait: [String]
    +
    var postWait: [String] { get set }
    @@ -281,7 +281,7 @@

    Declaration

    Swift

    -
    var session: URLSession?
    +
    var session: URLSession? { get }
    @@ -311,7 +311,7 @@ disconnect us.

    Declaration

    Swift

    -
    var waitingForPoll: Bool
    +
    var waitingForPoll: Bool { get set }
    @@ -341,7 +341,7 @@ disconnect us.

    Declaration

    Swift

    -
    var waitingForPost: Bool
    +
    var waitingForPost: Bool { get set }
    @@ -523,8 +523,8 @@ disconnect us.

    diff --git a/docs/Protocols/SocketEngineSpec.html b/docs/Protocols/SocketEngineSpec.html index 2d7296d..a28a37b 100644 --- a/docs/Protocols/SocketEngineSpec.html +++ b/docs/Protocols/SocketEngineSpec.html @@ -185,7 +185,8 @@

    SocketEngineSpec

    -
    @objc public protocol SocketEngineSpec
    +
    @objc
    +public protocol SocketEngineSpec
    @@ -225,7 +226,7 @@

    Declaration

    Swift

    -
    var client: SocketEngineClient?
    +
    var client: SocketEngineClient? { get set }
    @@ -252,7 +253,7 @@

    Declaration

    Swift

    -
    var closed: Bool
    +
    var closed: Bool { get }
    @@ -279,7 +280,7 @@

    Declaration

    Swift

    -
    var compress: Bool
    +
    var compress: Bool { get }
    @@ -306,7 +307,7 @@

    Declaration

    Swift

    -
    var connected: Bool
    +
    var connected: Bool { get }
    @@ -333,7 +334,7 @@

    Declaration

    Swift

    -
    var connectParams: [String: Any]?
    +
    var connectParams: [String : Any]? { get set }
    @@ -360,7 +361,7 @@

    Declaration

    Swift

    -
    var cookies: [HTTPCookie]?
    +
    var cookies: [HTTPCookie]? { get }
    @@ -387,7 +388,7 @@

    Declaration

    Swift

    -
    var engineQueue: DispatchQueue
    +
    var engineQueue: DispatchQueue { get }
    @@ -414,7 +415,7 @@

    Declaration

    Swift

    -
    var extraHeaders: [String: String]?
    +
    var extraHeaders: [String : String]? { get set }
    @@ -441,7 +442,7 @@

    Declaration

    Swift

    -
    var fastUpgrade: Bool
    +
    var fastUpgrade: Bool { get }
    @@ -468,7 +469,7 @@

    Declaration

    Swift

    -
    var forcePolling: Bool
    +
    var forcePolling: Bool { get }
    @@ -495,7 +496,7 @@

    Declaration

    Swift

    -
    var forceWebsockets: Bool
    +
    var forceWebsockets: Bool { get }
    @@ -522,7 +523,7 @@

    Declaration

    Swift

    -
    var polling: Bool
    +
    var polling: Bool { get }
    @@ -549,7 +550,7 @@

    Declaration

    Swift

    -
    var probing: Bool
    +
    var probing: Bool { get }
    @@ -576,7 +577,7 @@

    Declaration

    Swift

    -
    var sid: String
    +
    var sid: String { get }
    @@ -603,7 +604,7 @@

    Declaration

    Swift

    -
    var socketPath: String
    +
    var socketPath: String { get }
    @@ -630,7 +631,7 @@

    Declaration

    Swift

    -
    var urlPolling: URL
    +
    var urlPolling: URL { get }
    @@ -657,7 +658,7 @@

    Declaration

    Swift

    -
    var urlWebSocket: URL
    +
    var urlWebSocket: URL { get }
    @@ -684,7 +685,8 @@

    Declaration

    Swift

    -
    var websocket: Bool
    +
    @available(*, deprecated, message: "No longer needed, if we're not polling, then we must be doing websockets")
    +var websocket: Bool { get }
    @@ -711,7 +713,7 @@

    Declaration

    Swift

    -
    var ws: WebSocket?
    +
    var ws: WebSocket? { get }
    @@ -749,7 +751,7 @@

    Declaration

    Swift

    -
    init(client: SocketEngineClient, url: URL, options: [String: Any]?)
    +
    init(client: SocketEngineClient, url: URL, options: [String : Any]?)
    @@ -1140,8 +1142,8 @@ the engine is attempting to upgrade to WebSocket it does not do any POSTing.

    diff --git a/docs/Protocols/SocketEngineWebsocket.html b/docs/Protocols/SocketEngineWebsocket.html index df6a0d9..a13d4da 100644 --- a/docs/Protocols/SocketEngineWebsocket.html +++ b/docs/Protocols/SocketEngineWebsocket.html @@ -295,8 +295,8 @@ diff --git a/docs/Protocols/SocketIOClientSpec.html b/docs/Protocols/SocketIOClientSpec.html index db22064..4d119bb 100644 --- a/docs/Protocols/SocketIOClientSpec.html +++ b/docs/Protocols/SocketIOClientSpec.html @@ -185,7 +185,7 @@

    SocketIOClientSpec

    -
    public protocol SocketIOClientSpec : class
    +
    public protocol SocketIOClientSpec : AnyObject
    @@ -225,7 +225,7 @@

    Declaration

    Swift

    -
    var anyHandler: ((SocketAnyEvent) -> ())?
    +
    var anyHandler: ((SocketAnyEvent) -> ())? { get }
    @@ -252,7 +252,7 @@

    Declaration

    Swift

    -
    var handlers: [SocketEventHandler]
    +
    var handlers: [SocketEventHandler] { get }
    @@ -279,7 +279,7 @@

    Declaration

    Swift

    -
    var manager: SocketManagerSpec?
    +
    var manager: SocketManagerSpec? { get }
    @@ -308,7 +308,7 @@

    Declaration

    Swift

    -
    var nsp: String
    +
    var nsp: String { get }
    @@ -341,7 +341,7 @@

    Declaration

    Swift

    -
    var rawEmitView: SocketRawView
    +
    var rawEmitView: SocketRawView { get }
    @@ -368,7 +368,7 @@

    Declaration

    Swift

    -
    var status: SocketIOStatus
    +
    var status: SocketIOStatus { get }
    @@ -1653,8 +1653,8 @@ Called when the manager detects a broken connection, or when a manual reconnect diff --git a/docs/Protocols/SocketLogger.html b/docs/Protocols/SocketLogger.html index 96fdc31..852c378 100644 --- a/docs/Protocols/SocketLogger.html +++ b/docs/Protocols/SocketLogger.html @@ -185,7 +185,7 @@

    SocketLogger

    -
    public protocol SocketLogger : class
    +
    public protocol SocketLogger : AnyObject
    @@ -225,7 +225,7 @@

    Declaration

    Swift

    -
    var log: Bool
    +
    var log: Bool { get set }
    @@ -407,8 +407,8 @@ diff --git a/docs/Protocols/SocketManagerSpec.html b/docs/Protocols/SocketManagerSpec.html index 0121e0d..7c1d18e 100644 --- a/docs/Protocols/SocketManagerSpec.html +++ b/docs/Protocols/SocketManagerSpec.html @@ -185,7 +185,8 @@

    SocketManagerSpec

    -
    public protocol SocketManagerSpec : class, SocketEngineClient
    +
    @objc
    +public protocol SocketManagerSpec : AnyObject, SocketEngineClient
    @@ -241,7 +242,7 @@ or call one of the disconnectSocket methods on this class.

    Declaration

    Swift

    -
    var defaultSocket: SocketIOClient
    +
    var defaultSocket: SocketIOClient { get }
    @@ -268,7 +269,7 @@ or call one of the disconnectSocket methods on this class.

    Declaration

    Swift

    -
    var engine: SocketEngineSpec?
    +
    var engine: SocketEngineSpec? { get set }
    @@ -295,7 +296,7 @@ or call one of the disconnectSocket methods on this class.

    Declaration

    Swift

    -
    var forceNew: Bool
    +
    var forceNew: Bool { get set }
    @@ -323,7 +324,7 @@ called on.

    Declaration

    Swift

    -
    var handleQueue: DispatchQueue
    +
    var handleQueue: DispatchQueue { get set }
    @@ -350,7 +351,7 @@ called on.

    Declaration

    Swift

    -
    var nsps: [String: SocketIOClient]
    +
    var nsps: [String : SocketIOClient] { get set }
    @@ -377,7 +378,7 @@ called on.

    Declaration

    Swift

    -
    var reconnects: Bool
    +
    var reconnects: Bool { get set }
    @@ -404,7 +405,7 @@ called on.

    Declaration

    Swift

    -
    var reconnectWait: Int
    +
    var reconnectWait: Int { get set }
    @@ -431,7 +432,7 @@ called on.

    Declaration

    Swift

    -
    var socketURL: URL
    +
    var socketURL: URL { get }
    @@ -458,7 +459,7 @@ called on.

    Declaration

    Swift

    -
    var status: SocketIOStatus
    +
    var status: SocketIOStatus { get }
    @@ -822,7 +823,8 @@ After calling this method the socket should no longer be considered usable.

    Declaration

    Swift

    -
    func removeSocket(_ socket: SocketIOClient) -> SocketIOClient?
    +
    @discardableResult
    +func removeSocket(_ socket: SocketIOClient) -> SocketIOClient?
    @@ -916,8 +918,8 @@ Or call -

    © 2018 Erik. All rights reserved. (Last updated: 2018-05-16)

    -

    Generated by jazzy ♪♫ v0.9.1, a Realm project.

    +

    © 2018 Erik. All rights reserved. (Last updated: 2018-07-29)

    +

    Generated by jazzy ♪♫ v0.9.3, a Realm project.

    diff --git a/docs/Protocols/SocketParsable.html b/docs/Protocols/SocketParsable.html index 3a9c541..615963b 100644 --- a/docs/Protocols/SocketParsable.html +++ b/docs/Protocols/SocketParsable.html @@ -185,7 +185,7 @@

    SocketParsable

    -
    public protocol SocketParsable : class
    +
    public protocol SocketParsable : AnyObject
    @@ -333,8 +333,8 @@ into the correct placeholder.

    diff --git a/docs/Structs.html b/docs/Structs.html index f19ba95..46d40bb 100644 --- a/docs/Structs.html +++ b/docs/Structs.html @@ -14,6 +14,7 @@ + @@ -291,8 +292,8 @@ diff --git a/docs/Structs/SocketEventHandler.html b/docs/Structs/SocketEventHandler.html index 0889a23..a2091d5 100644 --- a/docs/Structs/SocketEventHandler.html +++ b/docs/Structs/SocketEventHandler.html @@ -375,8 +375,8 @@ diff --git a/docs/Structs/SocketIOClientConfiguration.html b/docs/Structs/SocketIOClientConfiguration.html index abe3d59..075dac0 100644 --- a/docs/Structs/SocketIOClientConfiguration.html +++ b/docs/Structs/SocketIOClientConfiguration.html @@ -306,7 +306,7 @@

    Declaration

    Swift

    -
    public typealias SubSequence =  Array<SocketIOClientOption>.SubSequence
    +
    public typealias SubSequence = Array<SocketIOClientOption>.SubSequence
    @@ -344,7 +344,7 @@

    Declaration

    Swift

    -
    public var startIndex: Index
    +
    public var startIndex: Index { get }
    @@ -371,7 +371,7 @@

    Declaration

    Swift

    -
    public var endIndex: Index
    +
    public var endIndex: Index { get }
    @@ -398,7 +398,7 @@

    Declaration

    Swift

    -
    public var isEmpty: Bool
    +
    public var isEmpty: Bool { get }
    @@ -425,7 +425,7 @@

    Declaration

    Swift

    -
    public var count: Index.Stride
    +
    public var count: Index.Stride { get }
    @@ -452,7 +452,7 @@

    Declaration

    Swift

    -
    public var first: Element?
    +
    public var first: Element? { get }
    @@ -478,7 +478,7 @@

    Declaration

    Swift

    -
    public subscript(position: Index) -> Element
    +
    public subscript(position: Index) -> Element { get set }
    @@ -504,7 +504,7 @@

    Declaration

    Swift

    -
    public subscript(bounds: Range<Index>) -> SubSequence
    +
    public subscript(bounds: Range<Index>) -> SubSequence { get set }
    @@ -706,8 +706,8 @@ diff --git a/docs/Structs/SocketPacket.html b/docs/Structs/SocketPacket.html index fe44cf2..9f6c29b 100644 --- a/docs/Structs/SocketPacket.html +++ b/docs/Structs/SocketPacket.html @@ -363,7 +363,7 @@ event type packets.

    Declaration

    Swift

    -
    public var args: [Any]
    +
    public var args: [Any] { get }
    @@ -390,7 +390,7 @@ event type packets.

    Declaration

    Swift

    -
    public var description: String
    +
    public var description: String { get }
    @@ -417,7 +417,7 @@ event type packets.

    Declaration

    Swift

    -
    public var event: String
    +
    public var event: String { get }
    @@ -444,7 +444,7 @@ event type packets.

    Declaration

    Swift

    -
    public var packetString: String
    +
    public var packetString: String { get }
    @@ -483,7 +483,7 @@ event type packets.

    Declaration

    Swift

    -
    public enum PacketType: Int
    +
    public enum PacketType : Int
    @@ -498,8 +498,8 @@ event type packets.

    diff --git a/docs/Structs/SocketPacket/PacketType.html b/docs/Structs/SocketPacket/PacketType.html index 762e552..e6ad15a 100644 --- a/docs/Structs/SocketPacket/PacketType.html +++ b/docs/Structs/SocketPacket/PacketType.html @@ -185,7 +185,7 @@

    PacketType

    -
    public enum PacketType: Int
    +
    public enum PacketType : Int
    @@ -197,6 +197,13 @@
    +
    + + + +

    Cases

    +
    +
    • @@ -225,10 +232,6 @@
    - - -
    -
    • @@ -256,10 +259,6 @@
    • -
    -
    -
    -
    • @@ -287,10 +286,6 @@
    • -
    -
    -
    -
    • @@ -318,10 +313,6 @@
    • -
    -
    -
    -
    • @@ -349,10 +340,6 @@
    • -
    -
    -
    -
    • @@ -380,10 +367,6 @@
    • -
    -
    -
    -
    • @@ -413,14 +396,52 @@
    +
    + +
      +
    • +
      + + + + isBinary + +
      +
      +
      +
      +
      +
      +

      Whether or not this type is binary

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var isBinary: Bool { get }
      + +
      +
      +
      +
      +
    • +
    +
    diff --git a/docs/Typealiases.html b/docs/Typealiases.html index 44f7e5e..e90e4f8 100644 --- a/docs/Typealiases.html +++ b/docs/Typealiases.html @@ -14,6 +14,7 @@ + @@ -253,8 +254,8 @@ diff --git a/docs/faq.html b/docs/faq.html index b655f56..be5f436 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -229,8 +229,8 @@ will be released, along with the socket, and its memory reclaimed.

    diff --git a/docs/index.html b/docs/index.html index f6e2d76..93a50b1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -266,7 +266,7 @@ SocketIOClient* socket = manager.defaultSocket; .executable(name: "socket.io-test", targets: ["YourTargetName"]) ], dependencies: [ - .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMinor(from: "13.2.0")) + .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMinor(from: "13.3.0")) ], targets: [ .target(name: "YourTargetName", dependencies: ["SocketIO"], path: "./Path/To/Your/Sources") @@ -278,7 +278,7 @@ SocketIOClient* socket = manager.defaultSocket;

    Carthage

    Add this line to your Cartfile:

    -
    github "socketio/socket.io-client-swift" ~> 13.2.0
    +
    github "socketio/socket.io-client-swift" ~> 13.3.0
     

    Run carthage update --platform ios,macosx.

    @@ -290,7 +290,7 @@ SocketIOClient* socket = manager.defaultSocket;
    use_frameworks!
     
     target 'YourApp' do
    -    pod 'Socket.IO-Client-Swift', '~> 13.2.0'
    +    pod 'Socket.IO-Client-Swift', '~> 13.3.0'
     end
     
    @@ -331,8 +331,8 @@ SocketIOClient* socket = manager.defaultSocket; diff --git a/docs/search.json b/docs/search.json index ef04f1f..5d15523 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Typealiases.html#/s:8SocketIO11AckCallbacka":{"name":"AckCallback","abstract":"

    A typealias for an ack callback.

    "},"Typealiases.html#/s:8SocketIO14NormalCallbacka":{"name":"NormalCallback","abstract":"

    A typealias for a normal callback.

    "},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO7connectA2EmF":{"name":"connect","abstract":"

    Connect: 0

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO10disconnectA2EmF":{"name":"disconnect","abstract":"

    Disconnect: 1

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO5eventA2EmF":{"name":"event","abstract":"

    Event: 2

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO3ackA2EmF":{"name":"ack","abstract":"

    Ack: 3

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO5errorA2EmF":{"name":"error","abstract":"

    Error: 4

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO11binaryEventA2EmF":{"name":"binaryEvent","abstract":"

    Binary Event: 5

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO9binaryAckA2EmF":{"name":"binaryAck","abstract":"

    Binary Ack: 6

    ","parent_name":"PacketType"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV3nspSSvp":{"name":"nsp","abstract":"

    The namespace for this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV2idSivp":{"name":"id","abstract":"

    If > 0 then this packet is using acking.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV4typeAC0C4TypeOvp":{"name":"type","abstract":"

    The type of this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV6binarySay10Foundation4DataVGvp":{"name":"binary","abstract":"

    An array of binary data for this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV4dataSayypGvp":{"name":"data","abstract":"

    The data for this event.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV4argsSayypGvp":{"name":"args","abstract":"

    Returns the payload for this packet, minus the event name if this is an event or binaryEvent type packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV11descriptionSSvp":{"name":"description","abstract":"

    A string representation of this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV5eventSSvp":{"name":"event","abstract":"

    The event name for this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV12packetStringSSvp":{"name":"packetString","abstract":"

    A string representation of this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket/PacketType.html":{"name":"PacketType","abstract":"

    The type of packets.

    ","parent_name":"SocketPacket"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV7Elementa":{"name":"Element","abstract":"

    Type of element stored.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV5Indexa":{"name":"Index","abstract":"

    Index type.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV8Iteratora":{"name":"Iterator","abstract":"

    Iterator type.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV11SubSequencea":{"name":"SubSequence","abstract":"

    SubSequence type.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV10startIndexSivp":{"name":"startIndex","abstract":"

    The start index of this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV8endIndexSivp":{"name":"endIndex","abstract":"

    The end index of this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV7isEmptySbvp":{"name":"isEmpty","abstract":"

    Whether this collection is empty.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV5countSivp":{"name":"count","abstract":"

    The number of elements stored in this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV5firstAA0aC6OptionOSgvp":{"name":"first","abstract":"

    The first element in this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:s10CollectionP7ElementQz5IndexQzcip":{"name":"subscript(_:)","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:s10CollectionP11SubSequenceQzs5RangeVy5IndexQzGcip":{"name":"subscript(_:)","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationVAcA0aC6OptionO12arrayLiterald_tcfc":{"name":"init(arrayLiteral:)","abstract":"

    Creates a new SocketIOClientConfiguration from an array literal.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV12makeIterators08IndexingF0VySayAA0aC6OptionOGGyF":{"name":"makeIterator()","abstract":"

    Creates an iterator for this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV5indexS2i5after_tF":{"name":"index(after:)","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV6insertyAA0aC6OptionO_Sb9replacingtF":{"name":"insert(_:replacing:)","abstract":"

    Special method that inserts element into the collection, replacing any other instances of element.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketEventHandler.html#/s:8SocketIO0A12EventHandlerV5eventSSvp":{"name":"event","abstract":"

    The event for this handler.

    ","parent_name":"SocketEventHandler"},"Structs/SocketEventHandler.html#/s:8SocketIO0A12EventHandlerV2id10Foundation4UUIDVvp":{"name":"id","abstract":"

    A unique identifier for this handler.

    ","parent_name":"SocketEventHandler"},"Structs/SocketEventHandler.html#/s:8SocketIO0A12EventHandlerV8callbackySayypG_AA0A10AckEmitterCtcvp":{"name":"callback","abstract":"

    The actual handler function.

    ","parent_name":"SocketEventHandler"},"Structs/SocketEventHandler.html#/s:8SocketIO0A12EventHandlerV15executeCallbackySayypG4with_Si0G3AckAA0A8IOClientC0gA0tF":{"name":"executeCallback(with:withAck:withSocket:)","abstract":"

    Causes this handler to be executed.

    ","parent_name":"SocketEventHandler"},"Structs/SocketEventHandler.html":{"name":"SocketEventHandler","abstract":"

    A wrapper around a handler.

    "},"Structs/SocketIOClientConfiguration.html":{"name":"SocketIOClientConfiguration","abstract":"

    An array-like type that holds SocketIOClientOptions

    "},"Structs/SocketPacket.html":{"name":"SocketPacket","abstract":"

    A struct that represents a socket.io packet.

    "},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)defaultSocket":{"name":"defaultSocket","abstract":"

    Returns the socket associated with the default namespace (/).

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)engine":{"name":"engine","abstract":"

    The engine for this manager.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)forceNew":{"name":"forceNew","abstract":"

    If true then every time connect is called, a new engine will be created.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)handleQueue":{"name":"handleQueue","abstract":"

    The queue that all interaction with the client should occur on. This is the queue that event handlers are","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)nsps":{"name":"nsps","abstract":"

    The sockets in this manager indexed by namespace.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)reconnects":{"name":"reconnects","abstract":"

    If true, this manager will try and reconnect on any disconnects.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)reconnectWait":{"name":"reconnectWait","abstract":"

    The number of seconds to wait before attempting to reconnect.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)socketURL":{"name":"socketURL","abstract":"

    The URL of the socket.io server.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)status":{"name":"status","abstract":"

    The status of this manager.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)connect":{"name":"connect()","abstract":"

    Connects the underlying transport.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)connectSocket:":{"name":"connectSocket(_:)","abstract":"

    Connects a socket through this manager’s engine.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)didDisconnectWithReason:":{"name":"didDisconnect(reason:)","abstract":"

    Called when the manager has disconnected from socket.io.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)disconnect":{"name":"disconnect()","abstract":"

    Disconnects the manager and all associated sockets.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)disconnectSocket:":{"name":"disconnectSocket(_:)","abstract":"

    Disconnects the given socket.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)disconnectSocketForNamespace:":{"name":"disconnectSocket(forNamespace:)","abstract":"

    Disconnects the socket associated with forNamespace.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)emitAll:withItems:":{"name":"emitAll(_:withItems:)","abstract":"

    Sends an event to the server on all namespaces in this manager.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)reconnect":{"name":"reconnect()","abstract":"

    Tries to reconnect to the server.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)removeSocket:":{"name":"removeSocket(_:)","abstract":"

    Removes the socket from the manager’s control.","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)socketForNamespace:":{"name":"socket(forNamespace:)","abstract":"

    Returns a SocketIOClient for the given namespace. This socket shares a transport with the manager.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketDataBufferable.html#/s:8SocketIO0A14DataBufferableP14waitingPacketsSayAA0A6PacketVGvp":{"name":"waitingPackets","abstract":"

    A list of packets that are waiting for binary data.

    ","parent_name":"SocketDataBufferable"},"Protocols/SocketParsable.html#/s:8SocketIO0A8ParsableP15parseBinaryDataAA0A6PacketVSg10Foundation0F0VF":{"name":"parseBinaryData(_:)","abstract":"

    Called when the engine has received some binary data that should be attached to a packet.

    ","parent_name":"SocketParsable"},"Protocols/SocketParsable.html#/s:8SocketIO0A8ParsableP05parseA7MessageAA0A6PacketVSgSSF":{"name":"parseSocketMessage(_:)","abstract":"

    Called when the engine has received a string that should be parsed into a socket.io packet.

    ","parent_name":"SocketParsable"},"Protocols/SocketLogger.html#/s:8SocketIO0A6LoggerP3logSbvp":{"name":"log","abstract":"

    Whether to log or not

    ","parent_name":"SocketLogger"},"Protocols/SocketLogger.html#/s:8SocketIO0A6LoggerP3logySSyXK_SS4typetF":{"name":"log(_:type:)","abstract":"

    Normal log messages

    ","parent_name":"SocketLogger"},"Protocols/SocketLogger.html#/s:8SocketIO0A6LoggerP5errorySSyXK_SS4typetF":{"name":"error(_:type:)","abstract":"

    Error Messages

    ","parent_name":"SocketLogger"},"Protocols/SocketData.html#/s:8SocketIO0A4DataP20socketRepresentationAaB_pyKF":{"name":"socketRepresentation()","abstract":"

    A representation of self that can sent over socket.io.

    ","parent_name":"SocketData"},"Protocols/ConfigSettable.html#/s:8SocketIO14ConfigSettableP10setConfigsyAA0A21IOClientConfigurationVF":{"name":"setConfigs(_:)","abstract":"

    Called when an ConfigSettable should set/update its configs from a given configuration.

    ","parent_name":"ConfigSettable"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP10anyHandleryAA0A8AnyEventCcSgvp":{"name":"anyHandler","abstract":"

    A handler that will be called on any event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP8handlersSayAA0A12EventHandlerVGvp":{"name":"handlers","abstract":"

    The array of handlers for this socket.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP7managerAA0a7ManagerD0_pSgvp":{"name":"manager","abstract":"

    The manager for this socket.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP3nspSSvp":{"name":"nsp","abstract":"

    The namespace that this socket is currently connected to.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP11rawEmitViewAA0a3RawG0Cvp":{"name":"rawEmitView","abstract":"

    A view into this socket where emits do not check for binary data.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP6statusAA0A8IOStatusOvp":{"name":"status","abstract":"

    The status of this client.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP7connectyyF":{"name":"connect()","abstract":"

    Connect to the server. The same as calling connect(timeoutAfter:withHandler:) with a timeout of 0.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP7connectySd12timeoutAfter_yycSg11withHandlertF":{"name":"connect(timeoutAfter:withHandler:)","abstract":"

    Connect to the server. If we aren’t connected after timeoutAfter seconds, then withHandler is called.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP10didConnectySS11toNamespace_tF":{"name":"didConnect(toNamespace:)","abstract":"

    Called when the client connects to a namespace. If the client was created with a namespace upfront,","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP13didDisconnectySS6reason_tF":{"name":"didDisconnect(reason:)","abstract":"

    Called when the client has disconnected from socket.io.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP8didErrorySS6reason_tF":{"name":"didError(reason:)","abstract":"

    Called when the client encounters an error.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP10disconnectyyF":{"name":"disconnect()","abstract":"

    Disconnects the socket.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP4emitySS_AA0A4Data_pdtF":{"name":"emit(_:_:)","abstract":"

    Send an event to the server, with optional data items.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP7emitAckySi_SayypG4withtF":{"name":"emitAck(_:with:)","abstract":"

    Call when you wish to tell the server that you’ve received the event for ack.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP11emitWithAckAA02OnG8CallbackCSS_AA0A4Data_pdtF":{"name":"emitWithAck(_:_:)","abstract":"

    Sends a message to the server, requesting an ack.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP9handleAckySi_SayypG4datatF":{"name":"handleAck(_:data:)","abstract":"

    Called when socket.io has acked one of our emits. Causes the corresponding ack callback to be called.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP17handleClientEventyAA0afG0O_SayypG4datatF":{"name":"handleClientEvent(_:data:)","abstract":"

    Called on socket.io specific events.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP11handleEventySS_SayypG4dataSb17isInternalMessageSi7withAcktF":{"name":"handleEvent(_:data:isInternalMessage:withAck:)","abstract":"

    Called when we get an event from socket.io.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP12handlePacketyAA0aF0VF":{"name":"handlePacket(_:)","abstract":"

    Causes a client to handle a socket.io packet. The namespace for the packet must match the namespace of the","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP14leaveNamespaceyyF":{"name":"leaveNamespace()","abstract":"

    Call when you wish to leave a namespace and disconnect this socket.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP13joinNamespaceyyF":{"name":"joinNamespace()","abstract":"

    Joins nsp.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP3offyAA0A11ClientEventO06clientG0_tF":{"name":"off(clientEvent:)","abstract":"

    Removes handler(s) for a client event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP3offySSF":{"name":"off(_:)","abstract":"

    Removes handler(s) based on an event name.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP3offy10Foundation4UUIDV2id_tF":{"name":"off(id:)","abstract":"

    Removes a handler with the specified UUID gotten from an on or once

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP2on10Foundation4UUIDVSS_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"on(_:callback:)","abstract":"

    Adds a handler for an event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP2on10Foundation4UUIDVAA0A11ClientEventO06clientI0_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"on(clientEvent:callback:)","abstract":"

    Adds a handler for a client event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP4once10Foundation4UUIDVAA0A11ClientEventO06clientI0_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"once(clientEvent:callback:)","abstract":"

    Adds a single-use handler for a client event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP4once10Foundation4UUIDVSS_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"once(_:callback:)","abstract":"

    Adds a single-use handler for an event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP5onAnyyyAA0aF5EventCcF":{"name":"onAny(_:)","abstract":"

    Adds a handler that will be called on every event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP17removeAllHandlersyyF":{"name":"removeAllHandlers()","abstract":"

    Removes all handlers.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP15setReconnectingySS6reason_tF":{"name":"setReconnecting(reason:)","abstract":"

    Puts the socket back into the connecting state.","parent_name":"SocketIOClientSpec"},"Protocols/SocketEngineWebsocket.html#/s:8SocketIO0A15EngineWebsocketP07sendWebA7MessageySS_AA0aC10PacketTypeO04withI0Say10Foundation4DataVG0jL0tF":{"name":"sendWebSocketMessage(_:withType:withData:)","abstract":"

    Sends an engine.io message through the WebSocket transport.

    ","parent_name":"SocketEngineWebsocket"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP11invalidatedSbvp":{"name":"invalidated","abstract":"

    true If engine’s session has been invalidated.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP8postWaitSaySSGvp":{"name":"postWait","abstract":"

    A queue of engine.io messages waiting for POSTing

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP7sessionSo10URLSessionCSgvp":{"name":"session","abstract":"

    The URLSession that will be used for polling.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP14waitingForPollSbvp":{"name":"waitingForPoll","abstract":"

    true if there is an outstanding poll. Trying to poll before the first is done will cause socket.io to","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP14waitingForPostSbvp":{"name":"waitingForPost","abstract":"

    true if there is an outstanding post. Trying to post before the first is done will cause socket.io to","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP6doPollyyF":{"name":"doPoll()","abstract":"

    Call to send a long-polling request.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP15sendPollMessageySS_AA0aC10PacketTypeO04withI0Say10Foundation4DataVG0jL0tF":{"name":"sendPollMessage(_:withType:withData:)","abstract":"

    Sends an engine.io message through the polling transport.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP11stopPollingyyF":{"name":"stopPolling()","abstract":"

    Call to stop polling and invalidate the URLSession.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidErrorWithReason:":{"name":"engineDidError(reason:)","abstract":"

    Called when the engine errors.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidCloseWithReason:":{"name":"engineDidClose(reason:)","abstract":"

    Called when the engine closes.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidOpenWithReason:":{"name":"engineDidOpen(reason:)","abstract":"

    Called when the engine opens.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidReceivePong":{"name":"engineDidReceivePong()","abstract":"

    Called when the engine receives a pong message.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidSendPing":{"name":"engineDidSendPing()","abstract":"

    Called when the engine sends a ping to the server.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)parseEngineMessage:":{"name":"parseEngineMessage(_:)","abstract":"

    Called when the engine has a message that must be parsed.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)parseEngineBinaryData:":{"name":"parseEngineBinaryData(_:)","abstract":"

    Called when the engine receives binary data.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)client":{"name":"client","abstract":"

    The client for this engine.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)closed":{"name":"closed","abstract":"

    true if this engine is closed.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)compress":{"name":"compress","abstract":"

    If true the engine will attempt to use WebSocket compression.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)connected":{"name":"connected","abstract":"

    true if this engine is connected. Connected means that the initial poll connect has succeeded.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)connectParams":{"name":"connectParams","abstract":"

    The connect parameters sent during a connect.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)cookies":{"name":"cookies","abstract":"

    An array of HTTPCookies that are sent during the connection.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)engineQueue":{"name":"engineQueue","abstract":"

    The queue that all engine actions take place on.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)extraHeaders":{"name":"extraHeaders","abstract":"

    A dictionary of extra http headers that will be set during connection.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)fastUpgrade":{"name":"fastUpgrade","abstract":"

    When true, the engine is in the process of switching to WebSockets.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)forcePolling":{"name":"forcePolling","abstract":"

    When true, the engine will only use HTTP long-polling as a transport.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)forceWebsockets":{"name":"forceWebsockets","abstract":"

    When true, the engine will only use WebSockets as a transport.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)polling":{"name":"polling","abstract":"

    If true, the engine is currently in HTTP long-polling mode.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)probing":{"name":"probing","abstract":"

    If true, the engine is currently seeing whether it can upgrade to WebSockets.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)sid":{"name":"sid","abstract":"

    The session id for this engine.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)socketPath":{"name":"socketPath","abstract":"

    The path to engine.io.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)urlPolling":{"name":"urlPolling","abstract":"

    The url for polling.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)urlWebSocket":{"name":"urlWebSocket","abstract":"

    The url for WebSockets.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)websocket":{"name":"websocket","abstract":"

    If true, then the engine is currently in WebSockets mode.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)ws":{"name":"ws","abstract":"

    The WebSocket for this engine.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)initWithClient:url:options:":{"name":"init(client:url:options:)","abstract":"

    Creates a new engine.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)connect":{"name":"connect()","abstract":"

    Starts the connection to the server.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)didErrorWithReason:":{"name":"didError(reason:)","abstract":"

    Called when an error happens during execution. Causes a disconnection.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)disconnectWithReason:":{"name":"disconnect(reason:)","abstract":"

    Disconnects from the server.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)doFastUpgrade":{"name":"doFastUpgrade()","abstract":"

    Called to switch from HTTP long-polling to WebSockets. After calling this method the engine will be in","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)flushWaitingForPostToWebSocket":{"name":"flushWaitingForPostToWebSocket()","abstract":"

    Causes any packets that were waiting for POSTing to be sent through the WebSocket. This happens because when","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)parseEngineData:":{"name":"parseEngineData(_:)","abstract":"

    Parses raw binary received from engine.io.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)parseEngineMessage:":{"name":"parseEngineMessage(_:)","abstract":"

    Parses a raw engine.io packet.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)write:withType:withData:":{"name":"write(_:withType:withData:)","abstract":"

    Writes a message to engine.io, independent of transport.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html":{"name":"SocketEngineSpec","abstract":"

    Specifies a SocketEngine.

    "},"Protocols/SocketEngineClient.html":{"name":"SocketEngineClient","abstract":"

    Declares that a type will be a delegate to an engine.

    "},"Protocols/SocketEnginePollable.html":{"name":"SocketEnginePollable","abstract":"

    Protocol that is used to implement socket.io polling support

    "},"Protocols/SocketEngineWebsocket.html":{"name":"SocketEngineWebsocket","abstract":"

    Protocol that is used to implement socket.io WebSocket support

    "},"Protocols/SocketIOClientSpec.html":{"name":"SocketIOClientSpec","abstract":"

    Defines the interface for a SocketIOClient.

    "},"Protocols/ConfigSettable.html":{"name":"ConfigSettable","abstract":"

    Declares that a type can set configs from a SocketIOClientConfiguration.

    "},"Protocols/SocketData.html":{"name":"SocketData","abstract":"

    A marking protocol that says a type can be represented in a socket.io packet.

    "},"Protocols/SocketLogger.html":{"name":"SocketLogger","abstract":"

    Represents a class will log client events.

    "},"Protocols/SocketParsable.html":{"name":"SocketParsable","abstract":"

    Defines that a type will be able to parse socket.io-protocol messages.

    "},"Protocols/SocketDataBufferable.html":{"name":"SocketDataBufferable","abstract":"

    Says that a type will be able to buffer binary data before all data for an event has come in.

    "},"Protocols/SocketManagerSpec.html":{"name":"SocketManagerSpec","abstract":"

    A manager for a socket.io connection.

    "},"Enums/SocketParsableError.html#/s:8SocketIO0A13ParsableErrorO16invalidDataArrayA2CmF":{"name":"invalidDataArray","abstract":"

    Thrown when a packet received has an invalid data array, or is missing the data array.

    ","parent_name":"SocketParsableError"},"Enums/SocketParsableError.html#/s:8SocketIO0A13ParsableErrorO13invalidPacketA2CmF":{"name":"invalidPacket","abstract":"

    Thrown when an malformed packet is received.

    ","parent_name":"SocketParsableError"},"Enums/SocketParsableError.html#/s:8SocketIO0A13ParsableErrorO17invalidPacketTypeA2CmF":{"name":"invalidPacketType","abstract":"

    Thrown when the parser receives an unknown packet type.

    ","parent_name":"SocketParsableError"},"Enums/SocketIOStatus.html#/c:@M@SocketIO@E@SocketIOStatus@SocketIOStatusNotConnected":{"name":"notConnected","abstract":"

    The client/manager has never been connected. Or the client has been reset.

    ","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/c:@M@SocketIO@E@SocketIOStatus@SocketIOStatusDisconnected":{"name":"disconnected","abstract":"

    The client/manager was once connected, but not anymore.

    ","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/c:@M@SocketIO@E@SocketIOStatus@SocketIOStatusConnecting":{"name":"connecting","abstract":"

    The client/manager is in the process of connecting.

    ","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/c:@M@SocketIO@E@SocketIOStatus@SocketIOStatusConnected":{"name":"connected","abstract":"

    The client/manager is currently connected.

    ","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/s:8SocketIO0A8IOStatusO6activeSbvp":{"name":"active","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SocketIOStatus"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO8compressA2CmF":{"name":"compress","abstract":"

    If given, the WebSocket transport will attempt to use compression.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO13connectParamsACs10DictionaryVySSypGcACmF":{"name":"connectParams","abstract":"

    A dictionary of GET parameters that will be included in the connect url.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO7cookiesACSaySo10HTTPCookieCGcACmF":{"name":"cookies","abstract":"

    An array of cookies that will be sent during the initial connection.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO12extraHeadersACs10DictionaryVyS2SGcACmF":{"name":"extraHeaders","abstract":"

    Any extra HTTP headers that should be sent during the initial connection.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO8forceNewACSbcACmF":{"name":"forceNew","abstract":"

    If passed true, will cause the client to always create a new engine. Useful for debugging,","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO12forcePollingACSbcACmF":{"name":"forcePolling","abstract":"

    If passed true, the only transport that will be used will be HTTP long-polling.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO15forceWebsocketsACSbcACmF":{"name":"forceWebsockets","abstract":"

    If passed true, the only transport that will be used will be WebSockets.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO11handleQueueACSo08DispatchF0CcACmF":{"name":"handleQueue","abstract":"

    The queue that all interaction with the client should occur on. This is the queue that event handlers are","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO3logACSbcACmF":{"name":"log","abstract":"

    If passed true, the client will log debug information. This should be turned off in production code.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO6loggerAcA0A6Logger_pcACmF":{"name":"logger","abstract":"

    Used to pass in a custom logger.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO4pathACSScACmF":{"name":"path","abstract":"

    A custom path to socket.io. Only use this if the socket.io server is configured to look for this path.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO10reconnectsACSbcACmF":{"name":"reconnects","abstract":"

    If passed false, the client will not reconnect when it loses connection. Useful if you want full control","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO17reconnectAttemptsACSicACmF":{"name":"reconnectAttempts","abstract":"

    The number of times to try and reconnect before giving up. Pass -1 to never give up.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO13reconnectWaitACSicACmF":{"name":"reconnectWait","abstract":"

    The number of seconds to wait before reconnect attempts.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO6secureACSbcACmF":{"name":"secure","abstract":"

    Set true if your server is using secure transports.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO8securityAcA11SSLSecurityCcACmF":{"name":"security","abstract":"

    Allows you to set which certs are valid. Useful for SSL pinning.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO10selfSignedACSbcACmF":{"name":"selfSigned","abstract":"

    If you’re using a self-signed set. Only use for development.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO15sessionDelegateACSo010URLSessionF0_pcACmF":{"name":"sessionDelegate","abstract":"

    Sets an NSURLSessionDelegate for the underlying engine. Useful if you need to handle self-signed certs.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO11descriptionSSvp":{"name":"description","abstract":"

    The description of this option.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO2eeoiSbAC_ACtFZ":{"name":"==(_:_:)","abstract":"

    Compares whether two options are the same.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO7connectA2CmF":{"name":"connect","abstract":"

    Emitted when the client connects. This is also called on a successful reconnection. A connect event gets one","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO10disconnectA2CmF":{"name":"disconnect","abstract":"

    Emitted when the socket has disconnected and will not attempt to try to reconnect.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO5errorA2CmF":{"name":"error","abstract":"

    Emitted when an error occurs.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO4pingA2CmF":{"name":"ping","abstract":"

    Emitted whenever the engine sends a ping.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO4pongA2CmF":{"name":"pong","abstract":"

    Emitted whenever the engine gets a pong.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO9reconnectA2CmF":{"name":"reconnect","abstract":"

    Emitted when the client begins the reconnection process.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO16reconnectAttemptA2CmF":{"name":"reconnectAttempt","abstract":"

    Emitted each time the client tries to reconnect to the server.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO12statusChangeA2CmF":{"name":"statusChange","abstract":"

    Emitted every time there is a change in the client’s status.

    ","parent_name":"SocketClientEvent"},"Enums/SocketAckStatus.html#/s:8SocketIO0A9AckStatusO02noC0A2CmF":{"name":"noAck","abstract":"

    The ack timed out.

    ","parent_name":"SocketAckStatus"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeOpen":{"name":"open","abstract":"

    Open message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeClose":{"name":"close","abstract":"

    Close message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypePing":{"name":"ping","abstract":"

    Ping message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypePong":{"name":"pong","abstract":"

    Pong message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeMessage":{"name":"message","abstract":"

    Regular message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeUpgrade":{"name":"upgrade","abstract":"

    Upgrade message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeNoop":{"name":"noop","abstract":"

    NOOP.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html":{"name":"SocketEnginePacketType","abstract":"

    Represents the type of engine.io packet types.

    "},"Enums/SocketAckStatus.html":{"name":"SocketAckStatus","abstract":"

    The status of an ack.

    "},"Enums/SocketClientEvent.html":{"name":"SocketClientEvent","abstract":"

    The set of events that are generated by the client.

    "},"Enums/SocketIOClientOption.html":{"name":"SocketIOClientOption","abstract":"

    The options for a client.

    "},"Enums/SocketIOStatus.html":{"name":"SocketIOStatus","abstract":"

    Represents state of a manager or client.

    "},"Enums/SocketParsableError.html":{"name":"SocketParsableError","abstract":"

    Errors that can be thrown during parsing.

    "},"Classes/SocketRawAckView.html#/s:8SocketIO0A10RawAckViewC4withyAA0A4Data_pd_tF":{"name":"with(_:)","abstract":"

    Call to ack receiving this event.

    ","parent_name":"SocketRawAckView"},"Classes/SocketRawAckView.html#/c:@M@SocketIO@objc(cs)SocketRawAckView(im)with:":{"name":"with(_:)","abstract":"

    Call to ack receiving this event.

    ","parent_name":"SocketRawAckView"},"Classes/SocketRawView.html#/s:8SocketIO0A7RawViewC4emitySS_AA0A4Data_pdtF":{"name":"emit(_:_:)","abstract":"

    Send an event to the server, with optional data items.

    ","parent_name":"SocketRawView"},"Classes/SocketRawView.html#/c:@M@SocketIO@objc(cs)SocketRawView(im)emit:with:":{"name":"emit(_:with:)","abstract":"

    Same as emit, but meant for Objective-C

    ","parent_name":"SocketRawView"},"Classes/SocketRawView.html#/s:8SocketIO0A7RawViewC11emitWithAckAA02OnG8CallbackCSS_AA0A4Data_pdtF":{"name":"emitWithAck(_:_:)","abstract":"

    Sends a message to the server, requesting an ack.

    ","parent_name":"SocketRawView"},"Classes/SocketRawView.html#/c:@M@SocketIO@objc(cs)SocketRawView(im)emitWithAck:with:":{"name":"emitWithAck(_:with:)","abstract":"

    Same as emitWithAck, but for Objective-C

    ","parent_name":"SocketRawView"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)defaultSocket":{"name":"defaultSocket","abstract":"

    The socket associated with the default namespace (/).

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)socketURL":{"name":"socketURL","abstract":"

    The URL of the socket.io server.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC6configAA0A21IOClientConfigurationVvp":{"name":"config","abstract":"

    The configuration for this client.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)engine":{"name":"engine","abstract":"

    The engine for this manager.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)forceNew":{"name":"forceNew","abstract":"

    If true then every time connect is called, a new engine will be created.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)handleQueue":{"name":"handleQueue","abstract":"

    The queue that all interaction with the client should occur on. This is the queue that event handlers are","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)nsps":{"name":"nsps","abstract":"

    The sockets in this manager indexed by namespace.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)reconnects":{"name":"reconnects","abstract":"

    If true, this client will try and reconnect on any disconnects.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)reconnectWait":{"name":"reconnectWait","abstract":"

    The number of seconds to wait before attempting to reconnect.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)status":{"name":"status","abstract":"

    The status of this manager.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC14waitingPacketsSayAA0A6PacketVGvp":{"name":"waitingPackets","abstract":"

    A list of packets that are waiting for binary data.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerCAC10Foundation3URLV06socketE0_AA0A21IOClientConfigurationV6configtcfc":{"name":"init(socketURL:config:)","abstract":"

    Type safe way to create a new SocketIOClient. opts can be omitted.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)initWithSocketURL:config:":{"name":"init(socketURL:config:)","abstract":"

    Not so type safe way to create a SocketIOClient, meant for Objective-C compatiblity.","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)connect":{"name":"connect()","abstract":"

    Connects the underlying transport and the default namespace socket.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)connectSocket:":{"name":"connectSocket(_:)","abstract":"

    Connects a socket through this manager’s engine.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)didDisconnectWithReason:":{"name":"didDisconnect(reason:)","abstract":"

    Called when the manager has disconnected from socket.io.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)disconnect":{"name":"disconnect()","abstract":"

    Disconnects the manager and all associated sockets.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)disconnectSocket:":{"name":"disconnectSocket(_:)","abstract":"

    Disconnects the given socket.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)disconnectSocketForNamespace:":{"name":"disconnectSocket(forNamespace:)","abstract":"

    Disconnects the socket associated with forNamespace.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC7emitAllyAA0A11ClientEventO06clientG0_SayypG4datatF":{"name":"emitAll(clientEvent:data:)","abstract":"

    Sends a client event to all sockets in nsps

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC7emitAllySS_AA0A4Data_pdtF":{"name":"emitAll(_:_:)","abstract":"

    Sends an event to the server on all namespaces in this manager.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)emitAll:withItems:":{"name":"emitAll(_:withItems:)","abstract":"

    Sends an event to the server on all namespaces in this manager.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidCloseWithReason:":{"name":"engineDidClose(reason:)","abstract":"

    Called when the engine closes.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidErrorWithReason:":{"name":"engineDidError(reason:)","abstract":"

    Called when the engine errors.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidOpenWithReason:":{"name":"engineDidOpen(reason:)","abstract":"

    Called when the engine opens.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidReceivePong":{"name":"engineDidReceivePong()","abstract":"

    Called when the engine receives a pong message.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidSendPing":{"name":"engineDidSendPing()","abstract":"

    Called when the sends a ping to the server.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)parseEngineMessage:":{"name":"parseEngineMessage(_:)","abstract":"

    Called when the engine has a message that must be parsed.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)parseEngineBinaryData:":{"name":"parseEngineBinaryData(_:)","abstract":"

    Called when the engine receives binary data.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)reconnect":{"name":"reconnect()","abstract":"

    Tries to reconnect to the server.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)removeSocket:":{"name":"removeSocket(_:)","abstract":"

    Removes the socket from the manager’s control. One of the disconnect methods should be called before calling this","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC10setConfigsyAA0A21IOClientConfigurationVF":{"name":"setConfigs(_:)","abstract":"

    Sets manager specific configs.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)socketForNamespace:":{"name":"socket(forNamespace:)","abstract":"

    Returns a SocketIOClient for the given namespace. This socket shares a transport with the manager.

    ","parent_name":"SocketManager"},"Classes/SSLSecurity.html#/s:8SocketIO11SSLSecurityC8security10StarscreamABCvp":{"name":"security","abstract":"

    The internal Starscream SSLSecurity.

    ","parent_name":"SSLSecurity"},"Classes/SSLSecurity.html#/c:@M@SocketIO@objc(cs)SSLSecurity(im)initWithUsePublicKeys:":{"name":"init(usePublicKeys:)","abstract":"

    Creates a new SSLSecurity that specifies whether to use publicKeys or certificates should be used for SSL","parent_name":"SSLSecurity"},"Classes/SSLSecurity.html#/s:8SocketIO11SSLSecurityCACSay10Starscream7SSLCertCG5certs_Sb13usePublicKeystcfc":{"name":"init(certs:usePublicKeys:)","abstract":"

    Designated init

    ","parent_name":"SSLSecurity"},"Classes/SSLSecurity.html#/s:8SocketIO11SSLSecurityC7isValidSbSo8SecTrustC_SSSg6domaintF":{"name":"isValid(_:domain:)","abstract":"

    Returns whether or not the given trust is valid.

    ","parent_name":"SSLSecurity"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)nsp":{"name":"nsp","abstract":"

    The namespace that this socket is currently connected to.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)sid":{"name":"sid","abstract":"

    The session id of this client.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC10anyHandleryAA0A8AnyEventCcSgvp":{"name":"anyHandler","abstract":"

    A handler that will be called on any event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC8handlersSayAA0A12EventHandlerVGvp":{"name":"handlers","abstract":"

    The array of handlers for this socket.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)manager":{"name":"manager","abstract":"

    The manager for this socket.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)rawEmitView":{"name":"rawEmitView","abstract":"

    A view into this socket where emits do not check for binary data.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)status":{"name":"status","abstract":"

    The status of this client.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)initWithManager:nsp:":{"name":"init(manager:nsp:)","abstract":"

    Type safe way to create a new SocketIOClient. opts can be omitted.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)connect":{"name":"connect()","abstract":"

    Connect to the server. The same as calling connect(timeoutAfter:withHandler:) with a timeout of 0.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)connectWithTimeoutAfter:withHandler:":{"name":"connect(timeoutAfter:withHandler:)","abstract":"

    Connect to the server. If we aren’t connected after timeoutAfter seconds, then withHandler is called.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC10didConnectySS11toNamespace_tF":{"name":"didConnect(toNamespace:)","abstract":"

    Called when the client connects to a namespace. If the client was created with a namespace upfront,","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC13didDisconnectySS6reason_tF":{"name":"didDisconnect(reason:)","abstract":"

    Called when the client has disconnected from socket.io.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)disconnect":{"name":"disconnect()","abstract":"

    Disconnects the socket.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC4emitySS_AA0A4Data_pdtF":{"name":"emit(_:_:)","abstract":"

    Send an event to the server, with optional data items.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)emit:with:":{"name":"emit(_:with:)","abstract":"

    Same as emit, but meant for Objective-C

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC11emitWithAckAA02OnF8CallbackCSS_AA0A4Data_pdtF":{"name":"emitWithAck(_:_:)","abstract":"

    Sends a message to the server, requesting an ack.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)emitWithAck:with:":{"name":"emitWithAck(_:with:)","abstract":"

    Same as emitWithAck, but for Objective-C

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC7emitAckySi_SayypG4withtF":{"name":"emitAck(_:with:)","abstract":"

    Call when you wish to tell the server that you’ve received the event for ack.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)handleAck:data:":{"name":"handleAck(_:data:)","abstract":"

    Called when socket.io has acked one of our emits. Causes the corresponding ack callback to be called.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC17handleClientEventyAA0aeF0O_SayypG4datatF":{"name":"handleClientEvent(_:data:)","abstract":"

    Called on socket.io specific events.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)handleEvent:data:isInternalMessage:withAck:":{"name":"handleEvent(_:data:isInternalMessage:withAck:)","abstract":"

    Called when we get an event from socket.io.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC12handlePacketyAA0aE0VF":{"name":"handlePacket(_:)","abstract":"

    Causes a client to handle a socket.io packet. The namespace for the packet must match the namespace of the","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)leaveNamespace":{"name":"leaveNamespace()","abstract":"

    Call when you wish to leave a namespace and disconnect this socket.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)joinNamespace":{"name":"joinNamespace()","abstract":"

    Joins nsp.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC3offyAA0A11ClientEventO06clientF0_tF":{"name":"off(clientEvent:)","abstract":"

    Removes handler(s) for a client event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)off:":{"name":"off(_:)","abstract":"

    Removes handler(s) based on an event name.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)offWithId:":{"name":"off(id:)","abstract":"

    Removes a handler with the specified UUID gotten from an on or once

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)on:callback:":{"name":"on(_:callback:)","abstract":"

    Adds a handler for an event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC2on10Foundation4UUIDVAA0A11ClientEventO06clientH0_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"on(clientEvent:callback:)","abstract":"

    Adds a handler for a client event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC4once10Foundation4UUIDVAA0A11ClientEventO06clientH0_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"once(clientEvent:callback:)","abstract":"

    Adds a single-use handler for a client event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)once:callback:":{"name":"once(_:callback:)","abstract":"

    Adds a single-use handler for an event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)onAny:":{"name":"onAny(_:)","abstract":"

    Adds a handler that will be called on every event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)removeAllHandlers":{"name":"removeAllHandlers()","abstract":"

    Removes all handlers.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)setReconnectingWithReason:":{"name":"setReconnecting(reason:)","abstract":"

    Puts the socket back into the connecting state.","parent_name":"SocketIOClient"},"Classes/SocketAnyEvent.html#/c:@M@SocketIO@objc(cs)SocketAnyEvent(py)event":{"name":"event","abstract":"

    The event name.

    ","parent_name":"SocketAnyEvent"},"Classes/SocketAnyEvent.html#/c:@M@SocketIO@objc(cs)SocketAnyEvent(py)items":{"name":"items","abstract":"

    The data items for this event.

    ","parent_name":"SocketAnyEvent"},"Classes/SocketAnyEvent.html#/c:@M@SocketIO@objc(cs)SocketAnyEvent(py)description":{"name":"description","abstract":"

    The description of this event.

    ","parent_name":"SocketAnyEvent"},"Classes/OnAckCallback.html#/c:@M@SocketIO@objc(cs)OnAckCallback(im)timingOutAfter:callback:":{"name":"timingOut(after:callback:)","abstract":"

    Completes an emitWithAck. If this isn’t called, the emit never happens.

    ","parent_name":"OnAckCallback"},"Classes/SocketAckEmitter.html#/c:@M@SocketIO@objc(cs)SocketAckEmitter(py)rawEmitView":{"name":"rawEmitView","abstract":"

    A view into this emitter where emits do not check for binary data.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html#/s:8SocketIO0A10AckEmitterC8expectedSbvp":{"name":"expected","abstract":"

    If true, this handler is expecting to be acked. Call with(_: SocketData...) to ack.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html#/s:8SocketIO0A10AckEmitterCAcA0A8IOClientC6socket_Si6ackNumtcfc":{"name":"init(socket:ackNum:)","abstract":"

    Creates a new SocketAckEmitter.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html#/s:8SocketIO0A10AckEmitterC4withyAA0A4Data_pd_tF":{"name":"with(_:)","abstract":"

    Call to ack receiving this event.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html#/c:@M@SocketIO@objc(cs)SocketAckEmitter(im)with:":{"name":"with(_:)","abstract":"

    Call to ack receiving this event.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)engineQueue":{"name":"engineQueue","abstract":"

    The queue that all engine actions take place on.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)connectParams":{"name":"connectParams","abstract":"

    The connect parameters sent during a connect.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)extraHeaders":{"name":"extraHeaders","abstract":"

    A dictionary of extra http headers that will be set during connection.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC8postWaitSaySSGvp":{"name":"postWait","abstract":"

    A queue of engine.io messages waiting for POSTing

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC14waitingForPollSbvp":{"name":"waitingForPoll","abstract":"

    true if there is an outstanding poll. Trying to poll before the first is done will cause socket.io to","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC14waitingForPostSbvp":{"name":"waitingForPost","abstract":"

    true if there is an outstanding post. Trying to post before the first is done will cause socket.io to","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)closed":{"name":"closed","abstract":"

    true if this engine is closed.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)compress":{"name":"compress","abstract":"

    If true the engine will attempt to use WebSocket compression.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)connected":{"name":"connected","abstract":"

    true if this engine is connected. Connected means that the initial poll connect has succeeded.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)cookies":{"name":"cookies","abstract":"

    An array of HTTPCookies that are sent during the connection.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)fastUpgrade":{"name":"fastUpgrade","abstract":"

    When true, the engine is in the process of switching to WebSockets.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)forcePolling":{"name":"forcePolling","abstract":"

    When true, the engine will only use HTTP long-polling as a transport.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)forceWebsockets":{"name":"forceWebsockets","abstract":"

    When true, the engine will only use WebSockets as a transport.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC11invalidatedSbvp":{"name":"invalidated","abstract":"

    true If engine’s session has been invalidated.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)polling":{"name":"polling","abstract":"

    If true, the engine is currently in HTTP long-polling mode.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)probing":{"name":"probing","abstract":"

    If true, the engine is currently seeing whether it can upgrade to WebSockets.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC7sessionSo10URLSessionCSgvp":{"name":"session","abstract":"

    The URLSession that will be used for polling.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)sid":{"name":"sid","abstract":"

    The session id for this engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)socketPath":{"name":"socketPath","abstract":"

    The path to engine.io.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)urlPolling":{"name":"urlPolling","abstract":"

    The url for polling.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)urlWebSocket":{"name":"urlWebSocket","abstract":"

    The url for WebSockets.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)websocket":{"name":"websocket","abstract":"

    If true, then the engine is currently in WebSockets mode.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)ws":{"name":"ws","abstract":"

    The WebSocket for this engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)client":{"name":"client","abstract":"

    The client for this engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineCAcA0aC6Client_p6client_10Foundation3URLV3urlAA0A21IOClientConfigurationV6configtcfc":{"name":"init(client:url:config:)","abstract":"

    Creates a new engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)initWithClient:url:options:":{"name":"init(client:url:options:)","abstract":"

    Creates a new engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)connect":{"name":"connect()","abstract":"

    Starts the connection to the server.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)didErrorWithReason:":{"name":"didError(reason:)","abstract":"

    Called when an error happens during execution. Causes a disconnection.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)disconnectWithReason:":{"name":"disconnect(reason:)","abstract":"

    Disconnects from the server.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)doFastUpgrade":{"name":"doFastUpgrade()","abstract":"

    Called to switch from HTTP long-polling to WebSockets. After calling this method the engine will be in","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)flushWaitingForPostToWebSocket":{"name":"flushWaitingForPostToWebSocket()","abstract":"

    Causes any packets that were waiting for POSTing to be sent through the WebSocket. This happens because when","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)parseEngineData:":{"name":"parseEngineData(_:)","abstract":"

    Parses raw binary received from engine.io.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)parseEngineMessage:":{"name":"parseEngineMessage(_:)","abstract":"

    Parses a raw engine.io packet.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC10setConfigsyAA0A21IOClientConfigurationVF":{"name":"setConfigs(_:)","abstract":"

    Called when the engine should set/update its configs from a given configuration.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)write:withType:withData:":{"name":"write(_:withType:withData:)","abstract":"

    Writes a message to engine.io, independent of transport.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC10URLSessionySoADC7session_So7NSErrorCSg25didBecomeInvalidWithErrortF":{"name":"URLSession(session:didBecomeInvalidWithError:)","abstract":"

    Delegate called when the session becomes invalid.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html":{"name":"SocketEngine","abstract":"

    The class that handles the engine.io protocol and transports."},"Classes/SocketAckEmitter.html":{"name":"SocketAckEmitter","abstract":"

    A class that represents a waiting ack call.

    "},"Classes/OnAckCallback.html":{"name":"OnAckCallback","abstract":"

    A class that represents an emit that will request an ack that has not yet been sent."},"Classes/SocketAnyEvent.html":{"name":"SocketAnyEvent","abstract":"

    Represents some event that was received.

    "},"Classes/SocketIOClient.html":{"name":"SocketIOClient","abstract":"

    Represents a socket.io-client.

    "},"Classes/SSLSecurity.html":{"name":"SSLSecurity","abstract":"

    A wrapper around Starscream’s SSLSecurity that provides a minimal Objective-C interface.

    "},"Classes/SocketManager.html":{"name":"SocketManager","abstract":"

    A manager for a socket.io connection.

    "},"Classes/SocketRawView.html":{"name":"SocketRawView","abstract":"

    Class that gives a backwards compatible way to cause an emit not to recursively check for Data objects.

    "},"Classes/SocketRawAckView.html":{"name":"SocketRawAckView","abstract":"

    Class that gives a backwards compatible way to cause an emit not to recursively check for Data objects.

    "},"faq.html":{"name":"FAQ"},"12to13.html":{"name":"12to13"},"Guides.html":{"name":"Guides","abstract":"

    The following guides are available globally.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file +{"Typealiases.html#/s:8SocketIO11AckCallbacka":{"name":"AckCallback","abstract":"

    A typealias for an ack callback.

    "},"Typealiases.html#/s:8SocketIO14NormalCallbacka":{"name":"NormalCallback","abstract":"

    A typealias for a normal callback.

    "},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO7connectA2EmF":{"name":"connect","abstract":"

    Connect: 0

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO10disconnectA2EmF":{"name":"disconnect","abstract":"

    Disconnect: 1

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO5eventA2EmF":{"name":"event","abstract":"

    Event: 2

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO3ackA2EmF":{"name":"ack","abstract":"

    Ack: 3

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO5errorA2EmF":{"name":"error","abstract":"

    Error: 4

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO11binaryEventA2EmF":{"name":"binaryEvent","abstract":"

    Binary Event: 5

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO9binaryAckA2EmF":{"name":"binaryAck","abstract":"

    Binary Ack: 6

    ","parent_name":"PacketType"},"Structs/SocketPacket/PacketType.html#/s:8SocketIO0A6PacketV0C4TypeO8isBinarySbvp":{"name":"isBinary","abstract":"

    Whether or not this type is binary

    ","parent_name":"PacketType"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV3nspSSvp":{"name":"nsp","abstract":"

    The namespace for this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV2idSivp":{"name":"id","abstract":"

    If > 0 then this packet is using acking.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV4typeAC0C4TypeOvp":{"name":"type","abstract":"

    The type of this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV6binarySay10Foundation4DataVGvp":{"name":"binary","abstract":"

    An array of binary data for this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV4dataSayypGvp":{"name":"data","abstract":"

    The data for this event.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV4argsSayypGvp":{"name":"args","abstract":"

    Returns the payload for this packet, minus the event name if this is an event or binaryEvent type packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV11descriptionSSvp":{"name":"description","abstract":"

    A string representation of this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV5eventSSvp":{"name":"event","abstract":"

    The event name for this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket.html#/s:8SocketIO0A6PacketV12packetStringSSvp":{"name":"packetString","abstract":"

    A string representation of this packet.

    ","parent_name":"SocketPacket"},"Structs/SocketPacket/PacketType.html":{"name":"PacketType","abstract":"

    The type of packets.

    ","parent_name":"SocketPacket"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV7Elementa":{"name":"Element","abstract":"

    Type of element stored.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV5Indexa":{"name":"Index","abstract":"

    Index type.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV8Iteratora":{"name":"Iterator","abstract":"

    Iterator type.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV11SubSequencea":{"name":"SubSequence","abstract":"

    SubSequence type.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV10startIndexSivp":{"name":"startIndex","abstract":"

    The start index of this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV8endIndexSivp":{"name":"endIndex","abstract":"

    The end index of this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV7isEmptySbvp":{"name":"isEmpty","abstract":"

    Whether this collection is empty.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV5countSivp":{"name":"count","abstract":"

    The number of elements stored in this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV5firstAA0aC6OptionOSgvp":{"name":"first","abstract":"

    The first element in this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:s10CollectionP7ElementQz5IndexQzcip":{"name":"subscript(_:)","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:s10CollectionP11SubSequenceQzs5RangeVy5IndexQzGcip":{"name":"subscript(_:)","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationVAcA0aC6OptionO12arrayLiterald_tcfc":{"name":"init(arrayLiteral:)","abstract":"

    Creates a new SocketIOClientConfiguration from an array literal.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV12makeIterators08IndexingF0VySayAA0aC6OptionOGGyF":{"name":"makeIterator()","abstract":"

    Creates an iterator for this collection.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV5indexS2i5after_tF":{"name":"index(after:)","parent_name":"SocketIOClientConfiguration"},"Structs/SocketIOClientConfiguration.html#/s:8SocketIO0A21IOClientConfigurationV6insertyAA0aC6OptionO_Sb9replacingtF":{"name":"insert(_:replacing:)","abstract":"

    Special method that inserts element into the collection, replacing any other instances of element.

    ","parent_name":"SocketIOClientConfiguration"},"Structs/SocketEventHandler.html#/s:8SocketIO0A12EventHandlerV5eventSSvp":{"name":"event","abstract":"

    The event for this handler.

    ","parent_name":"SocketEventHandler"},"Structs/SocketEventHandler.html#/s:8SocketIO0A12EventHandlerV2id10Foundation4UUIDVvp":{"name":"id","abstract":"

    A unique identifier for this handler.

    ","parent_name":"SocketEventHandler"},"Structs/SocketEventHandler.html#/s:8SocketIO0A12EventHandlerV8callbackySayypG_AA0A10AckEmitterCtcvp":{"name":"callback","abstract":"

    The actual handler function.

    ","parent_name":"SocketEventHandler"},"Structs/SocketEventHandler.html#/s:8SocketIO0A12EventHandlerV15executeCallbackySayypG4with_Si0G3AckAA0A8IOClientC0gA0tF":{"name":"executeCallback(with:withAck:withSocket:)","abstract":"

    Causes this handler to be executed.

    ","parent_name":"SocketEventHandler"},"Structs/SocketEventHandler.html":{"name":"SocketEventHandler","abstract":"

    A wrapper around a handler.

    "},"Structs/SocketIOClientConfiguration.html":{"name":"SocketIOClientConfiguration","abstract":"

    An array-like type that holds SocketIOClientOptions

    "},"Structs/SocketPacket.html":{"name":"SocketPacket","abstract":"

    A struct that represents a socket.io packet.

    "},"Protocols/SocketData.html#/s:8SocketIO0A4DataP20socketRepresentationAaB_pyKF":{"name":"socketRepresentation()","abstract":"

    A representation of self that can sent over socket.io.

    ","parent_name":"SocketData"},"Protocols/SocketLogger.html#/s:8SocketIO0A6LoggerP3logSbvp":{"name":"log","abstract":"

    Whether to log or not

    ","parent_name":"SocketLogger"},"Protocols/SocketLogger.html#/s:8SocketIO0A6LoggerP3logySSyXK_SS4typetF":{"name":"log(_:type:)","abstract":"

    Normal log messages

    ","parent_name":"SocketLogger"},"Protocols/SocketLogger.html#/s:8SocketIO0A6LoggerP5errorySSyXK_SS4typetF":{"name":"error(_:type:)","abstract":"

    Error Messages

    ","parent_name":"SocketLogger"},"Protocols/SocketDataBufferable.html#/s:8SocketIO0A14DataBufferableP14waitingPacketsSayAA0A6PacketVGvp":{"name":"waitingPackets","abstract":"

    A list of packets that are waiting for binary data.

    ","parent_name":"SocketDataBufferable"},"Protocols/SocketParsable.html#/s:8SocketIO0A8ParsableP15parseBinaryDataAA0A6PacketVSg10Foundation0F0VF":{"name":"parseBinaryData(_:)","abstract":"

    Called when the engine has received some binary data that should be attached to a packet.

    ","parent_name":"SocketParsable"},"Protocols/SocketParsable.html#/s:8SocketIO0A8ParsableP05parseA7MessageAA0A6PacketVSgSSF":{"name":"parseSocketMessage(_:)","abstract":"

    Called when the engine has received a string that should be parsed into a socket.io packet.

    ","parent_name":"SocketParsable"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)defaultSocket":{"name":"defaultSocket","abstract":"

    Returns the socket associated with the default namespace (/).

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)engine":{"name":"engine","abstract":"

    The engine for this manager.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)forceNew":{"name":"forceNew","abstract":"

    If true then every time connect is called, a new engine will be created.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)handleQueue":{"name":"handleQueue","abstract":"

    The queue that all interaction with the client should occur on. This is the queue that event handlers are","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)nsps":{"name":"nsps","abstract":"

    The sockets in this manager indexed by namespace.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)reconnects":{"name":"reconnects","abstract":"

    If true, this manager will try and reconnect on any disconnects.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)reconnectWait":{"name":"reconnectWait","abstract":"

    The number of seconds to wait before attempting to reconnect.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)socketURL":{"name":"socketURL","abstract":"

    The URL of the socket.io server.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(py)status":{"name":"status","abstract":"

    The status of this manager.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)connect":{"name":"connect()","abstract":"

    Connects the underlying transport.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)connectSocket:":{"name":"connectSocket(_:)","abstract":"

    Connects a socket through this manager’s engine.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)didDisconnectWithReason:":{"name":"didDisconnect(reason:)","abstract":"

    Called when the manager has disconnected from socket.io.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)disconnect":{"name":"disconnect()","abstract":"

    Disconnects the manager and all associated sockets.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)disconnectSocket:":{"name":"disconnectSocket(_:)","abstract":"

    Disconnects the given socket.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)disconnectSocketForNamespace:":{"name":"disconnectSocket(forNamespace:)","abstract":"

    Disconnects the socket associated with forNamespace.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)emitAll:withItems:":{"name":"emitAll(_:withItems:)","abstract":"

    Sends an event to the server on all namespaces in this manager.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)reconnect":{"name":"reconnect()","abstract":"

    Tries to reconnect to the server.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)removeSocket:":{"name":"removeSocket(_:)","abstract":"

    Removes the socket from the manager’s control.","parent_name":"SocketManagerSpec"},"Protocols/SocketManagerSpec.html#/c:@M@SocketIO@objc(pl)SocketManagerSpec(im)socketForNamespace:":{"name":"socket(forNamespace:)","abstract":"

    Returns a SocketIOClient for the given namespace. This socket shares a transport with the manager.

    ","parent_name":"SocketManagerSpec"},"Protocols/SocketEngineWebsocket.html#/s:8SocketIO0A15EngineWebsocketP07sendWebA7MessageySS_AA0aC10PacketTypeO04withI0Say10Foundation4DataVG0jL0tF":{"name":"sendWebSocketMessage(_:withType:withData:)","abstract":"

    Sends an engine.io message through the WebSocket transport.

    ","parent_name":"SocketEngineWebsocket"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)client":{"name":"client","abstract":"

    The client for this engine.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)closed":{"name":"closed","abstract":"

    true if this engine is closed.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)compress":{"name":"compress","abstract":"

    If true the engine will attempt to use WebSocket compression.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)connected":{"name":"connected","abstract":"

    true if this engine is connected. Connected means that the initial poll connect has succeeded.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)connectParams":{"name":"connectParams","abstract":"

    The connect parameters sent during a connect.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)cookies":{"name":"cookies","abstract":"

    An array of HTTPCookies that are sent during the connection.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)engineQueue":{"name":"engineQueue","abstract":"

    The queue that all engine actions take place on.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)extraHeaders":{"name":"extraHeaders","abstract":"

    A dictionary of extra http headers that will be set during connection.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)fastUpgrade":{"name":"fastUpgrade","abstract":"

    When true, the engine is in the process of switching to WebSockets.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)forcePolling":{"name":"forcePolling","abstract":"

    When true, the engine will only use HTTP long-polling as a transport.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)forceWebsockets":{"name":"forceWebsockets","abstract":"

    When true, the engine will only use WebSockets as a transport.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)polling":{"name":"polling","abstract":"

    If true, the engine is currently in HTTP long-polling mode.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)probing":{"name":"probing","abstract":"

    If true, the engine is currently seeing whether it can upgrade to WebSockets.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)sid":{"name":"sid","abstract":"

    The session id for this engine.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)socketPath":{"name":"socketPath","abstract":"

    The path to engine.io.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)urlPolling":{"name":"urlPolling","abstract":"

    The url for polling.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)urlWebSocket":{"name":"urlWebSocket","abstract":"

    The url for WebSockets.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)websocket":{"name":"websocket","abstract":"

    If true, then the engine is currently in WebSockets mode.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(py)ws":{"name":"ws","abstract":"

    The WebSocket for this engine.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)initWithClient:url:options:":{"name":"init(client:url:options:)","abstract":"

    Creates a new engine.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)connect":{"name":"connect()","abstract":"

    Starts the connection to the server.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)didErrorWithReason:":{"name":"didError(reason:)","abstract":"

    Called when an error happens during execution. Causes a disconnection.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)disconnectWithReason:":{"name":"disconnect(reason:)","abstract":"

    Disconnects from the server.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)doFastUpgrade":{"name":"doFastUpgrade()","abstract":"

    Called to switch from HTTP long-polling to WebSockets. After calling this method the engine will be in","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)flushWaitingForPostToWebSocket":{"name":"flushWaitingForPostToWebSocket()","abstract":"

    Causes any packets that were waiting for POSTing to be sent through the WebSocket. This happens because when","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)parseEngineData:":{"name":"parseEngineData(_:)","abstract":"

    Parses raw binary received from engine.io.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)parseEngineMessage:":{"name":"parseEngineMessage(_:)","abstract":"

    Parses a raw engine.io packet.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEngineSpec.html#/c:@M@SocketIO@objc(pl)SocketEngineSpec(im)write:withType:withData:":{"name":"write(_:withType:withData:)","abstract":"

    Writes a message to engine.io, independent of transport.

    ","parent_name":"SocketEngineSpec"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP11invalidatedSbvp":{"name":"invalidated","abstract":"

    true If engine’s session has been invalidated.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP8postWaitSaySSGvp":{"name":"postWait","abstract":"

    A queue of engine.io messages waiting for POSTing

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP7sessionSo10URLSessionCSgvp":{"name":"session","abstract":"

    The URLSession that will be used for polling.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP14waitingForPollSbvp":{"name":"waitingForPoll","abstract":"

    true if there is an outstanding poll. Trying to poll before the first is done will cause socket.io to","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP14waitingForPostSbvp":{"name":"waitingForPost","abstract":"

    true if there is an outstanding post. Trying to post before the first is done will cause socket.io to","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP6doPollyyF":{"name":"doPoll()","abstract":"

    Call to send a long-polling request.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP15sendPollMessageySS_AA0aC10PacketTypeO04withI0Say10Foundation4DataVG0jL0tF":{"name":"sendPollMessage(_:withType:withData:)","abstract":"

    Sends an engine.io message through the polling transport.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEnginePollable.html#/s:8SocketIO0A14EnginePollableP11stopPollingyyF":{"name":"stopPolling()","abstract":"

    Call to stop polling and invalidate the URLSession.

    ","parent_name":"SocketEnginePollable"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidErrorWithReason:":{"name":"engineDidError(reason:)","abstract":"

    Called when the engine errors.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidCloseWithReason:":{"name":"engineDidClose(reason:)","abstract":"

    Called when the engine closes.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidOpenWithReason:":{"name":"engineDidOpen(reason:)","abstract":"

    Called when the engine opens.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidReceivePong":{"name":"engineDidReceivePong()","abstract":"

    Called when the engine receives a pong message.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)engineDidSendPing":{"name":"engineDidSendPing()","abstract":"

    Called when the engine sends a ping to the server.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)parseEngineMessage:":{"name":"parseEngineMessage(_:)","abstract":"

    Called when the engine has a message that must be parsed.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketEngineClient.html#/c:@M@SocketIO@objc(pl)SocketEngineClient(im)parseEngineBinaryData:":{"name":"parseEngineBinaryData(_:)","abstract":"

    Called when the engine receives binary data.

    ","parent_name":"SocketEngineClient"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP10anyHandleryAA0A8AnyEventCcSgvp":{"name":"anyHandler","abstract":"

    A handler that will be called on any event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP8handlersSayAA0A12EventHandlerVGvp":{"name":"handlers","abstract":"

    The array of handlers for this socket.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP7managerAA0a7ManagerD0_pSgvp":{"name":"manager","abstract":"

    The manager for this socket.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP3nspSSvp":{"name":"nsp","abstract":"

    The namespace that this socket is currently connected to.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP11rawEmitViewAA0a3RawG0Cvp":{"name":"rawEmitView","abstract":"

    A view into this socket where emits do not check for binary data.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP6statusAA0A8IOStatusOvp":{"name":"status","abstract":"

    The status of this client.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP7connectyyF":{"name":"connect()","abstract":"

    Connect to the server. The same as calling connect(timeoutAfter:withHandler:) with a timeout of 0.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP7connectySd12timeoutAfter_yycSg11withHandlertF":{"name":"connect(timeoutAfter:withHandler:)","abstract":"

    Connect to the server. If we aren’t connected after timeoutAfter seconds, then withHandler is called.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP10didConnectySS11toNamespace_tF":{"name":"didConnect(toNamespace:)","abstract":"

    Called when the client connects to a namespace. If the client was created with a namespace upfront,","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP13didDisconnectySS6reason_tF":{"name":"didDisconnect(reason:)","abstract":"

    Called when the client has disconnected from socket.io.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP8didErrorySS6reason_tF":{"name":"didError(reason:)","abstract":"

    Called when the client encounters an error.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP10disconnectyyF":{"name":"disconnect()","abstract":"

    Disconnects the socket.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP4emitySS_AA0A4Data_pdtF":{"name":"emit(_:_:)","abstract":"

    Send an event to the server, with optional data items.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP7emitAckySi_SayypG4withtF":{"name":"emitAck(_:with:)","abstract":"

    Call when you wish to tell the server that you’ve received the event for ack.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP11emitWithAckAA02OnG8CallbackCSS_AA0A4Data_pdtF":{"name":"emitWithAck(_:_:)","abstract":"

    Sends a message to the server, requesting an ack.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP9handleAckySi_SayypG4datatF":{"name":"handleAck(_:data:)","abstract":"

    Called when socket.io has acked one of our emits. Causes the corresponding ack callback to be called.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP17handleClientEventyAA0afG0O_SayypG4datatF":{"name":"handleClientEvent(_:data:)","abstract":"

    Called on socket.io specific events.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP11handleEventySS_SayypG4dataSb17isInternalMessageSi7withAcktF":{"name":"handleEvent(_:data:isInternalMessage:withAck:)","abstract":"

    Called when we get an event from socket.io.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP12handlePacketyAA0aF0VF":{"name":"handlePacket(_:)","abstract":"

    Causes a client to handle a socket.io packet. The namespace for the packet must match the namespace of the","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP14leaveNamespaceyyF":{"name":"leaveNamespace()","abstract":"

    Call when you wish to leave a namespace and disconnect this socket.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP13joinNamespaceyyF":{"name":"joinNamespace()","abstract":"

    Joins nsp.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP3offyAA0A11ClientEventO06clientG0_tF":{"name":"off(clientEvent:)","abstract":"

    Removes handler(s) for a client event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP3offySSF":{"name":"off(_:)","abstract":"

    Removes handler(s) based on an event name.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP3offy10Foundation4UUIDV2id_tF":{"name":"off(id:)","abstract":"

    Removes a handler with the specified UUID gotten from an on or once

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP2on10Foundation4UUIDVSS_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"on(_:callback:)","abstract":"

    Adds a handler for an event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP2on10Foundation4UUIDVAA0A11ClientEventO06clientI0_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"on(clientEvent:callback:)","abstract":"

    Adds a handler for a client event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP4once10Foundation4UUIDVAA0A11ClientEventO06clientI0_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"once(clientEvent:callback:)","abstract":"

    Adds a single-use handler for a client event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP4once10Foundation4UUIDVSS_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"once(_:callback:)","abstract":"

    Adds a single-use handler for an event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP5onAnyyyAA0aF5EventCcF":{"name":"onAny(_:)","abstract":"

    Adds a handler that will be called on every event.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP17removeAllHandlersyyF":{"name":"removeAllHandlers()","abstract":"

    Removes all handlers.

    ","parent_name":"SocketIOClientSpec"},"Protocols/SocketIOClientSpec.html#/s:8SocketIO0A12IOClientSpecP15setReconnectingySS6reason_tF":{"name":"setReconnecting(reason:)","abstract":"

    Puts the socket back into the connecting state.","parent_name":"SocketIOClientSpec"},"Protocols/ConfigSettable.html#/s:8SocketIO14ConfigSettableP10setConfigsyAA0A21IOClientConfigurationVF":{"name":"setConfigs(_:)","abstract":"

    Called when an ConfigSettable should set/update its configs from a given configuration.

    ","parent_name":"ConfigSettable"},"Protocols/ConfigSettable.html":{"name":"ConfigSettable","abstract":"

    Declares that a type can set configs from a SocketIOClientConfiguration.

    "},"Protocols/SocketIOClientSpec.html":{"name":"SocketIOClientSpec","abstract":"

    Defines the interface for a SocketIOClient.

    "},"Protocols/SocketEngineClient.html":{"name":"SocketEngineClient","abstract":"

    Declares that a type will be a delegate to an engine.

    "},"Protocols/SocketEnginePollable.html":{"name":"SocketEnginePollable","abstract":"

    Protocol that is used to implement socket.io polling support

    "},"Protocols/SocketEngineSpec.html":{"name":"SocketEngineSpec","abstract":"

    Specifies a SocketEngine.

    "},"Protocols/SocketEngineWebsocket.html":{"name":"SocketEngineWebsocket","abstract":"

    Protocol that is used to implement socket.io WebSocket support

    "},"Protocols/SocketManagerSpec.html":{"name":"SocketManagerSpec","abstract":"

    A manager for a socket.io connection.

    "},"Protocols/SocketParsable.html":{"name":"SocketParsable","abstract":"

    Defines that a type will be able to parse socket.io-protocol messages.

    "},"Protocols/SocketDataBufferable.html":{"name":"SocketDataBufferable","abstract":"

    Says that a type will be able to buffer binary data before all data for an event has come in.

    "},"Protocols/SocketLogger.html":{"name":"SocketLogger","abstract":"

    Represents a class will log client events.

    "},"Protocols/SocketData.html":{"name":"SocketData","abstract":"

    A marking protocol that says a type can be represented in a socket.io packet.

    "},"Enums/SocketParsableError.html#/s:8SocketIO0A13ParsableErrorO16invalidDataArrayA2CmF":{"name":"invalidDataArray","abstract":"

    Thrown when a packet received has an invalid data array, or is missing the data array.

    ","parent_name":"SocketParsableError"},"Enums/SocketParsableError.html#/s:8SocketIO0A13ParsableErrorO13invalidPacketA2CmF":{"name":"invalidPacket","abstract":"

    Thrown when an malformed packet is received.

    ","parent_name":"SocketParsableError"},"Enums/SocketParsableError.html#/s:8SocketIO0A13ParsableErrorO17invalidPacketTypeA2CmF":{"name":"invalidPacketType","abstract":"

    Thrown when the parser receives an unknown packet type.

    ","parent_name":"SocketParsableError"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeOpen":{"name":"open","abstract":"

    Open message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeClose":{"name":"close","abstract":"

    Close message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypePing":{"name":"ping","abstract":"

    Ping message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypePong":{"name":"pong","abstract":"

    Pong message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeMessage":{"name":"message","abstract":"

    Regular message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeUpgrade":{"name":"upgrade","abstract":"

    Upgrade message.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketEnginePacketType.html#/c:@M@SocketIO@E@SocketEnginePacketType@SocketEnginePacketTypeNoop":{"name":"noop","abstract":"

    NOOP.

    ","parent_name":"SocketEnginePacketType"},"Enums/SocketIOStatus.html#/c:@M@SocketIO@E@SocketIOStatus@SocketIOStatusNotConnected":{"name":"notConnected","abstract":"

    The client/manager has never been connected. Or the client has been reset.

    ","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/c:@M@SocketIO@E@SocketIOStatus@SocketIOStatusDisconnected":{"name":"disconnected","abstract":"

    The client/manager was once connected, but not anymore.

    ","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/c:@M@SocketIO@E@SocketIOStatus@SocketIOStatusConnecting":{"name":"connecting","abstract":"

    The client/manager is in the process of connecting.

    ","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/c:@M@SocketIO@E@SocketIOStatus@SocketIOStatusConnected":{"name":"connected","abstract":"

    The client/manager is currently connected.

    ","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/s:8SocketIO0A8IOStatusO6activeSbvp":{"name":"active","parent_name":"SocketIOStatus"},"Enums/SocketIOStatus.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SocketIOStatus"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO7connectA2CmF":{"name":"connect","abstract":"

    Emitted when the client connects. This is also called on a successful reconnection. A connect event gets one","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO10disconnectA2CmF":{"name":"disconnect","abstract":"

    Emitted when the socket has disconnected and will not attempt to try to reconnect.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO5errorA2CmF":{"name":"error","abstract":"

    Emitted when an error occurs.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO4pingA2CmF":{"name":"ping","abstract":"

    Emitted whenever the engine sends a ping.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO4pongA2CmF":{"name":"pong","abstract":"

    Emitted whenever the engine gets a pong.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO9reconnectA2CmF":{"name":"reconnect","abstract":"

    Emitted when the client begins the reconnection process.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO16reconnectAttemptA2CmF":{"name":"reconnectAttempt","abstract":"

    Emitted each time the client tries to reconnect to the server.

    ","parent_name":"SocketClientEvent"},"Enums/SocketClientEvent.html#/s:8SocketIO0A11ClientEventO12statusChangeA2CmF":{"name":"statusChange","abstract":"

    Emitted every time there is a change in the client’s status.

    ","parent_name":"SocketClientEvent"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO8compressA2CmF":{"name":"compress","abstract":"

    If given, the WebSocket transport will attempt to use compression.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO13connectParamsACs10DictionaryVySSypGcACmF":{"name":"connectParams","abstract":"

    A dictionary of GET parameters that will be included in the connect url.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO7cookiesACSaySo10HTTPCookieCGcACmF":{"name":"cookies","abstract":"

    An array of cookies that will be sent during the initial connection.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO12extraHeadersACs10DictionaryVyS2SGcACmF":{"name":"extraHeaders","abstract":"

    Any extra HTTP headers that should be sent during the initial connection.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO8forceNewACSbcACmF":{"name":"forceNew","abstract":"

    If passed true, will cause the client to always create a new engine. Useful for debugging,","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO12forcePollingACSbcACmF":{"name":"forcePolling","abstract":"

    If passed true, the only transport that will be used will be HTTP long-polling.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO15forceWebsocketsACSbcACmF":{"name":"forceWebsockets","abstract":"

    If passed true, the only transport that will be used will be WebSockets.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO11handleQueueACSo08DispatchF0CcACmF":{"name":"handleQueue","abstract":"

    The queue that all interaction with the client should occur on. This is the queue that event handlers are","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO3logACSbcACmF":{"name":"log","abstract":"

    If passed true, the client will log debug information. This should be turned off in production code.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO6loggerAcA0A6Logger_pcACmF":{"name":"logger","abstract":"

    Used to pass in a custom logger.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO4pathACSScACmF":{"name":"path","abstract":"

    A custom path to socket.io. Only use this if the socket.io server is configured to look for this path.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO10reconnectsACSbcACmF":{"name":"reconnects","abstract":"

    If passed false, the client will not reconnect when it loses connection. Useful if you want full control","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO17reconnectAttemptsACSicACmF":{"name":"reconnectAttempts","abstract":"

    The number of times to try and reconnect before giving up. Pass -1 to never give up.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO13reconnectWaitACSicACmF":{"name":"reconnectWait","abstract":"

    The number of seconds to wait before reconnect attempts.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO6secureACSbcACmF":{"name":"secure","abstract":"

    Set true if your server is using secure transports.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO8securityAcA11SSLSecurityCcACmF":{"name":"security","abstract":"

    Allows you to set which certs are valid. Useful for SSL pinning.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO10selfSignedACSbcACmF":{"name":"selfSigned","abstract":"

    If you’re using a self-signed set. Only use for development.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO15sessionDelegateACSo010URLSessionF0_pcACmF":{"name":"sessionDelegate","abstract":"

    Sets an NSURLSessionDelegate for the underlying engine. Useful if you need to handle self-signed certs.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO11descriptionSSvp":{"name":"description","abstract":"

    The description of this option.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketIOClientOption.html#/s:8SocketIO0A14IOClientOptionO2eeoiSbAC_ACtFZ":{"name":"==(_:_:)","abstract":"

    Compares whether two options are the same.

    ","parent_name":"SocketIOClientOption"},"Enums/SocketAckStatus.html#/s:8SocketIO0A9AckStatusO02noC0A2CmF":{"name":"noAck","abstract":"

    The ack timed out.

    ","parent_name":"SocketAckStatus"},"Enums/SocketAckStatus.html":{"name":"SocketAckStatus","abstract":"

    The status of an ack.

    "},"Enums/SocketIOClientOption.html":{"name":"SocketIOClientOption","abstract":"

    The options for a client.

    "},"Enums/SocketClientEvent.html":{"name":"SocketClientEvent","abstract":"

    The set of events that are generated by the client.

    "},"Enums/SocketIOStatus.html":{"name":"SocketIOStatus","abstract":"

    Represents state of a manager or client.

    "},"Enums/SocketEnginePacketType.html":{"name":"SocketEnginePacketType","abstract":"

    Represents the type of engine.io packet types.

    "},"Enums/SocketParsableError.html":{"name":"SocketParsableError","abstract":"

    Errors that can be thrown during parsing.

    "},"Classes/SSLSecurity.html#/s:8SocketIO11SSLSecurityC8security10StarscreamABCvp":{"name":"security","abstract":"

    The internal Starscream SSLSecurity.

    ","parent_name":"SSLSecurity"},"Classes/SSLSecurity.html#/c:@M@SocketIO@objc(cs)SSLSecurity(im)initWithUsePublicKeys:":{"name":"init(usePublicKeys:)","abstract":"

    Creates a new SSLSecurity that specifies whether to use publicKeys or certificates should be used for SSL","parent_name":"SSLSecurity"},"Classes/SSLSecurity.html#/s:8SocketIO11SSLSecurityCACSay10Starscream7SSLCertCG5certs_Sb13usePublicKeystcfc":{"name":"init(certs:usePublicKeys:)","abstract":"

    Designated init

    ","parent_name":"SSLSecurity"},"Classes/SSLSecurity.html#/s:8SocketIO11SSLSecurityC7isValidSbSo8SecTrustC_SSSg6domaintF":{"name":"isValid(_:domain:)","abstract":"

    Returns whether or not the given trust is valid.

    ","parent_name":"SSLSecurity"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)defaultSocket":{"name":"defaultSocket","abstract":"

    The socket associated with the default namespace (/).

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)socketURL":{"name":"socketURL","abstract":"

    The URL of the socket.io server.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC6configAA0A21IOClientConfigurationVvp":{"name":"config","abstract":"

    The configuration for this client.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)engine":{"name":"engine","abstract":"

    The engine for this manager.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)forceNew":{"name":"forceNew","abstract":"

    If true then every time connect is called, a new engine will be created.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)handleQueue":{"name":"handleQueue","abstract":"

    The queue that all interaction with the client should occur on. This is the queue that event handlers are","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)nsps":{"name":"nsps","abstract":"

    The sockets in this manager indexed by namespace.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)reconnects":{"name":"reconnects","abstract":"

    If true, this client will try and reconnect on any disconnects.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)reconnectWait":{"name":"reconnectWait","abstract":"

    The number of seconds to wait before attempting to reconnect.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(py)status":{"name":"status","abstract":"

    The status of this manager.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC14waitingPacketsSayAA0A6PacketVGvp":{"name":"waitingPackets","abstract":"

    A list of packets that are waiting for binary data.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerCAC10Foundation3URLV06socketE0_AA0A21IOClientConfigurationV6configtcfc":{"name":"init(socketURL:config:)","abstract":"

    Type safe way to create a new SocketIOClient. opts can be omitted.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)initWithSocketURL:config:":{"name":"init(socketURL:config:)","abstract":"

    Not so type safe way to create a SocketIOClient, meant for Objective-C compatiblity.","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)connect":{"name":"connect()","abstract":"

    Connects the underlying transport and the default namespace socket.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)connectSocket:":{"name":"connectSocket(_:)","abstract":"

    Connects a socket through this manager’s engine.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)didDisconnectWithReason:":{"name":"didDisconnect(reason:)","abstract":"

    Called when the manager has disconnected from socket.io.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)disconnect":{"name":"disconnect()","abstract":"

    Disconnects the manager and all associated sockets.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)disconnectSocket:":{"name":"disconnectSocket(_:)","abstract":"

    Disconnects the given socket.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)disconnectSocketForNamespace:":{"name":"disconnectSocket(forNamespace:)","abstract":"

    Disconnects the socket associated with forNamespace.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC7emitAllyAA0A11ClientEventO06clientG0_SayypG4datatF":{"name":"emitAll(clientEvent:data:)","abstract":"

    Sends a client event to all sockets in nsps

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC7emitAllySS_AA0A4Data_pdtF":{"name":"emitAll(_:_:)","abstract":"

    Sends an event to the server on all namespaces in this manager.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)emitAll:withItems:":{"name":"emitAll(_:withItems:)","abstract":"

    Sends an event to the server on all namespaces in this manager.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidCloseWithReason:":{"name":"engineDidClose(reason:)","abstract":"

    Called when the engine closes.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidErrorWithReason:":{"name":"engineDidError(reason:)","abstract":"

    Called when the engine errors.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidOpenWithReason:":{"name":"engineDidOpen(reason:)","abstract":"

    Called when the engine opens.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidReceivePong":{"name":"engineDidReceivePong()","abstract":"

    Called when the engine receives a pong message.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)engineDidSendPing":{"name":"engineDidSendPing()","abstract":"

    Called when the sends a ping to the server.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)parseEngineMessage:":{"name":"parseEngineMessage(_:)","abstract":"

    Called when the engine has a message that must be parsed.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)parseEngineBinaryData:":{"name":"parseEngineBinaryData(_:)","abstract":"

    Called when the engine receives binary data.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)reconnect":{"name":"reconnect()","abstract":"

    Tries to reconnect to the server.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)removeSocket:":{"name":"removeSocket(_:)","abstract":"

    Removes the socket from the manager’s control. One of the disconnect methods should be called before calling this","parent_name":"SocketManager"},"Classes/SocketManager.html#/s:8SocketIO0A7ManagerC10setConfigsyAA0A21IOClientConfigurationVF":{"name":"setConfigs(_:)","abstract":"

    Sets manager specific configs.

    ","parent_name":"SocketManager"},"Classes/SocketManager.html#/c:@M@SocketIO@objc(cs)SocketManager(im)socketForNamespace:":{"name":"socket(forNamespace:)","abstract":"

    Returns a SocketIOClient for the given namespace. This socket shares a transport with the manager.

    ","parent_name":"SocketManager"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)engineQueue":{"name":"engineQueue","abstract":"

    The queue that all engine actions take place on.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)connectParams":{"name":"connectParams","abstract":"

    The connect parameters sent during a connect.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)extraHeaders":{"name":"extraHeaders","abstract":"

    A dictionary of extra http headers that will be set during connection.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC8postWaitSaySSGvp":{"name":"postWait","abstract":"

    A queue of engine.io messages waiting for POSTing

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC14waitingForPollSbvp":{"name":"waitingForPoll","abstract":"

    true if there is an outstanding poll. Trying to poll before the first is done will cause socket.io to","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC14waitingForPostSbvp":{"name":"waitingForPost","abstract":"

    true if there is an outstanding post. Trying to post before the first is done will cause socket.io to","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)closed":{"name":"closed","abstract":"

    true if this engine is closed.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)compress":{"name":"compress","abstract":"

    If true the engine will attempt to use WebSocket compression.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)connected":{"name":"connected","abstract":"

    true if this engine is connected. Connected means that the initial poll connect has succeeded.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)cookies":{"name":"cookies","abstract":"

    An array of HTTPCookies that are sent during the connection.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)fastUpgrade":{"name":"fastUpgrade","abstract":"

    When true, the engine is in the process of switching to WebSockets.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)forcePolling":{"name":"forcePolling","abstract":"

    When true, the engine will only use HTTP long-polling as a transport.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)forceWebsockets":{"name":"forceWebsockets","abstract":"

    When true, the engine will only use WebSockets as a transport.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC11invalidatedSbvp":{"name":"invalidated","abstract":"

    true If engine’s session has been invalidated.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)polling":{"name":"polling","abstract":"

    If true, the engine is currently in HTTP long-polling mode.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)probing":{"name":"probing","abstract":"

    If true, the engine is currently seeing whether it can upgrade to WebSockets.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC7sessionSo10URLSessionCSgvp":{"name":"session","abstract":"

    The URLSession that will be used for polling.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)sid":{"name":"sid","abstract":"

    The session id for this engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)socketPath":{"name":"socketPath","abstract":"

    The path to engine.io.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)urlPolling":{"name":"urlPolling","abstract":"

    The url for polling.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)urlWebSocket":{"name":"urlWebSocket","abstract":"

    The url for WebSockets.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)websocket":{"name":"websocket","abstract":"

    If true, then the engine is currently in WebSockets mode.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)ws":{"name":"ws","abstract":"

    The WebSocket for this engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(py)client":{"name":"client","abstract":"

    The client for this engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineCAcA0aC6Client_p6client_10Foundation3URLV3urlAA0A21IOClientConfigurationV6configtcfc":{"name":"init(client:url:config:)","abstract":"

    Creates a new engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)initWithClient:url:options:":{"name":"init(client:url:options:)","abstract":"

    Creates a new engine.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)connect":{"name":"connect()","abstract":"

    Starts the connection to the server.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)didErrorWithReason:":{"name":"didError(reason:)","abstract":"

    Called when an error happens during execution. Causes a disconnection.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)disconnectWithReason:":{"name":"disconnect(reason:)","abstract":"

    Disconnects from the server.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)doFastUpgrade":{"name":"doFastUpgrade()","abstract":"

    Called to switch from HTTP long-polling to WebSockets. After calling this method the engine will be in","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)flushWaitingForPostToWebSocket":{"name":"flushWaitingForPostToWebSocket()","abstract":"

    Causes any packets that were waiting for POSTing to be sent through the WebSocket. This happens because when","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)parseEngineData:":{"name":"parseEngineData(_:)","abstract":"

    Parses raw binary received from engine.io.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)parseEngineMessage:":{"name":"parseEngineMessage(_:)","abstract":"

    Parses a raw engine.io packet.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC10setConfigsyAA0A21IOClientConfigurationVF":{"name":"setConfigs(_:)","abstract":"

    Called when the engine should set/update its configs from a given configuration.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/c:@M@SocketIO@objc(cs)SocketEngine(im)write:withType:withData:":{"name":"write(_:withType:withData:)","abstract":"

    Writes a message to engine.io, independent of transport.

    ","parent_name":"SocketEngine"},"Classes/SocketEngine.html#/s:8SocketIO0A6EngineC10URLSessionySoADC7session_So7NSErrorCSg25didBecomeInvalidWithErrortF":{"name":"URLSession(session:didBecomeInvalidWithError:)","abstract":"

    Delegate called when the session becomes invalid.

    ","parent_name":"SocketEngine"},"Classes/SocketRawAckView.html#/s:8SocketIO0A10RawAckViewC4withyAA0A4Data_pd_tF":{"name":"with(_:)","abstract":"

    Call to ack receiving this event.

    ","parent_name":"SocketRawAckView"},"Classes/SocketRawAckView.html#/c:@M@SocketIO@objc(cs)SocketRawAckView(im)with:":{"name":"with(_:)","abstract":"

    Call to ack receiving this event.

    ","parent_name":"SocketRawAckView"},"Classes/SocketRawView.html#/s:8SocketIO0A7RawViewC4emitySS_AA0A4Data_pdtF":{"name":"emit(_:_:)","abstract":"

    Send an event to the server, with optional data items.

    ","parent_name":"SocketRawView"},"Classes/SocketRawView.html#/c:@M@SocketIO@objc(cs)SocketRawView(im)emit:with:":{"name":"emit(_:with:)","abstract":"

    Same as emit, but meant for Objective-C

    ","parent_name":"SocketRawView"},"Classes/SocketRawView.html#/s:8SocketIO0A7RawViewC11emitWithAckAA02OnG8CallbackCSS_AA0A4Data_pdtF":{"name":"emitWithAck(_:_:)","abstract":"

    Sends a message to the server, requesting an ack.

    ","parent_name":"SocketRawView"},"Classes/SocketRawView.html#/c:@M@SocketIO@objc(cs)SocketRawView(im)emitWithAck:with:":{"name":"emitWithAck(_:with:)","abstract":"

    Same as emitWithAck, but for Objective-C

    ","parent_name":"SocketRawView"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)nsp":{"name":"nsp","abstract":"

    The namespace that this socket is currently connected to.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)sid":{"name":"sid","abstract":"

    The session id of this client.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC10anyHandleryAA0A8AnyEventCcSgvp":{"name":"anyHandler","abstract":"

    A handler that will be called on any event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC8handlersSayAA0A12EventHandlerVGvp":{"name":"handlers","abstract":"

    The array of handlers for this socket.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)manager":{"name":"manager","abstract":"

    The manager for this socket.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)rawEmitView":{"name":"rawEmitView","abstract":"

    A view into this socket where emits do not check for binary data.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(py)status":{"name":"status","abstract":"

    The status of this client.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)initWithManager:nsp:":{"name":"init(manager:nsp:)","abstract":"

    Type safe way to create a new SocketIOClient. opts can be omitted.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)connect":{"name":"connect()","abstract":"

    Connect to the server. The same as calling connect(timeoutAfter:withHandler:) with a timeout of 0.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)connectWithTimeoutAfter:withHandler:":{"name":"connect(timeoutAfter:withHandler:)","abstract":"

    Connect to the server. If we aren’t connected after timeoutAfter seconds, then withHandler is called.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC10didConnectySS11toNamespace_tF":{"name":"didConnect(toNamespace:)","abstract":"

    Called when the client connects to a namespace. If the client was created with a namespace upfront,","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC13didDisconnectySS6reason_tF":{"name":"didDisconnect(reason:)","abstract":"

    Called when the client has disconnected from socket.io.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)disconnect":{"name":"disconnect()","abstract":"

    Disconnects the socket.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC4emitySS_AA0A4Data_pdtF":{"name":"emit(_:_:)","abstract":"

    Send an event to the server, with optional data items.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)emit:with:":{"name":"emit(_:with:)","abstract":"

    Same as emit, but meant for Objective-C

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC11emitWithAckAA02OnF8CallbackCSS_AA0A4Data_pdtF":{"name":"emitWithAck(_:_:)","abstract":"

    Sends a message to the server, requesting an ack.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)emitWithAck:with:":{"name":"emitWithAck(_:with:)","abstract":"

    Same as emitWithAck, but for Objective-C

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC7emitAckySi_SayypG4withtF":{"name":"emitAck(_:with:)","abstract":"

    Call when you wish to tell the server that you’ve received the event for ack.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)handleAck:data:":{"name":"handleAck(_:data:)","abstract":"

    Called when socket.io has acked one of our emits. Causes the corresponding ack callback to be called.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC17handleClientEventyAA0aeF0O_SayypG4datatF":{"name":"handleClientEvent(_:data:)","abstract":"

    Called on socket.io specific events.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)handleEvent:data:isInternalMessage:withAck:":{"name":"handleEvent(_:data:isInternalMessage:withAck:)","abstract":"

    Called when we get an event from socket.io.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC12handlePacketyAA0aE0VF":{"name":"handlePacket(_:)","abstract":"

    Causes a client to handle a socket.io packet. The namespace for the packet must match the namespace of the","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)leaveNamespace":{"name":"leaveNamespace()","abstract":"

    Call when you wish to leave a namespace and disconnect this socket.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)joinNamespace":{"name":"joinNamespace()","abstract":"

    Joins nsp.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC3offyAA0A11ClientEventO06clientF0_tF":{"name":"off(clientEvent:)","abstract":"

    Removes handler(s) for a client event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)off:":{"name":"off(_:)","abstract":"

    Removes handler(s) based on an event name.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)offWithId:":{"name":"off(id:)","abstract":"

    Removes a handler with the specified UUID gotten from an on or once

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)on:callback:":{"name":"on(_:callback:)","abstract":"

    Adds a handler for an event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC2on10Foundation4UUIDVAA0A11ClientEventO06clientH0_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"on(clientEvent:callback:)","abstract":"

    Adds a handler for a client event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/s:8SocketIO0A8IOClientC4once10Foundation4UUIDVAA0A11ClientEventO06clientH0_ySayypG_AA0A10AckEmitterCtc8callbacktF":{"name":"once(clientEvent:callback:)","abstract":"

    Adds a single-use handler for a client event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)once:callback:":{"name":"once(_:callback:)","abstract":"

    Adds a single-use handler for an event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)onAny:":{"name":"onAny(_:)","abstract":"

    Adds a handler that will be called on every event.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)removeAllHandlers":{"name":"removeAllHandlers()","abstract":"

    Removes all handlers.

    ","parent_name":"SocketIOClient"},"Classes/SocketIOClient.html#/c:@M@SocketIO@objc(cs)SocketIOClient(im)setReconnectingWithReason:":{"name":"setReconnecting(reason:)","abstract":"

    Puts the socket back into the connecting state.","parent_name":"SocketIOClient"},"Classes/SocketAnyEvent.html#/c:@M@SocketIO@objc(cs)SocketAnyEvent(py)event":{"name":"event","abstract":"

    The event name.

    ","parent_name":"SocketAnyEvent"},"Classes/SocketAnyEvent.html#/c:@M@SocketIO@objc(cs)SocketAnyEvent(py)items":{"name":"items","abstract":"

    The data items for this event.

    ","parent_name":"SocketAnyEvent"},"Classes/SocketAnyEvent.html#/c:@M@SocketIO@objc(cs)SocketAnyEvent(py)description":{"name":"description","abstract":"

    The description of this event.

    ","parent_name":"SocketAnyEvent"},"Classes/OnAckCallback.html#/c:@M@SocketIO@objc(cs)OnAckCallback(im)timingOutAfter:callback:":{"name":"timingOut(after:callback:)","abstract":"

    Completes an emitWithAck. If this isn’t called, the emit never happens.

    ","parent_name":"OnAckCallback"},"Classes/SocketAckEmitter.html#/c:@M@SocketIO@objc(cs)SocketAckEmitter(py)rawEmitView":{"name":"rawEmitView","abstract":"

    A view into this emitter where emits do not check for binary data.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html#/s:8SocketIO0A10AckEmitterC8expectedSbvp":{"name":"expected","abstract":"

    If true, this handler is expecting to be acked. Call with(_: SocketData...) to ack.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html#/s:8SocketIO0A10AckEmitterCAcA0A8IOClientC6socket_Si6ackNumtcfc":{"name":"init(socket:ackNum:)","abstract":"

    Creates a new SocketAckEmitter.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html#/s:8SocketIO0A10AckEmitterC4withyAA0A4Data_pd_tF":{"name":"with(_:)","abstract":"

    Call to ack receiving this event.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html#/c:@M@SocketIO@objc(cs)SocketAckEmitter(im)with:":{"name":"with(_:)","abstract":"

    Call to ack receiving this event.

    ","parent_name":"SocketAckEmitter"},"Classes/SocketAckEmitter.html":{"name":"SocketAckEmitter","abstract":"

    A class that represents a waiting ack call.

    "},"Classes/OnAckCallback.html":{"name":"OnAckCallback","abstract":"

    A class that represents an emit that will request an ack that has not yet been sent."},"Classes/SocketAnyEvent.html":{"name":"SocketAnyEvent","abstract":"

    Represents some event that was received.

    "},"Classes/SocketIOClient.html":{"name":"SocketIOClient","abstract":"

    Represents a socket.io-client.

    "},"Classes/SocketRawView.html":{"name":"SocketRawView","abstract":"

    Class that gives a backwards compatible way to cause an emit not to recursively check for Data objects.

    "},"Classes/SocketRawAckView.html":{"name":"SocketRawAckView","abstract":"

    Class that gives a backwards compatible way to cause an emit not to recursively check for Data objects.

    "},"Classes/SocketEngine.html":{"name":"SocketEngine","abstract":"

    The class that handles the engine.io protocol and transports."},"Classes/SocketManager.html":{"name":"SocketManager","abstract":"

    A manager for a socket.io connection.

    "},"Classes/SSLSecurity.html":{"name":"SSLSecurity","abstract":"

    A wrapper around Starscream’s SSLSecurity that provides a minimal Objective-C interface.

    "},"faq.html":{"name":"FAQ"},"12to13.html":{"name":"12to13"},"Guides.html":{"name":"Guides","abstract":"

    The following guides are available globally.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file