diff --git a/docs/Classes.html b/docs/Classes.html index 936581b..94c7da0 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -425,7 +425,7 @@ manager["room1"]?.emit("hello") diff --git a/docs/Classes/OnAckCallback.html b/docs/Classes/OnAckCallback.html index 98fc5fb..a19ad22 100644 --- a/docs/Classes/OnAckCallback.html +++ b/docs/Classes/OnAckCallback.html @@ -260,7 +260,7 @@ Example:

diff --git a/docs/Classes/SSLSecurity.html b/docs/Classes/SSLSecurity.html index c5ee058..6b10065 100644 --- a/docs/Classes/SSLSecurity.html +++ b/docs/Classes/SSLSecurity.html @@ -388,7 +388,7 @@ validation

diff --git a/docs/Classes/SocketAckEmitter.html b/docs/Classes/SocketAckEmitter.html index 982b194..b1ff8ba 100644 --- a/docs/Classes/SocketAckEmitter.html +++ b/docs/Classes/SocketAckEmitter.html @@ -399,7 +399,7 @@ 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 b3e26a1..e182757 100644 --- a/docs/Classes/SocketAnyEvent.html +++ b/docs/Classes/SocketAnyEvent.html @@ -276,7 +276,7 @@ diff --git a/docs/Classes/SocketClientManager.html b/docs/Classes/SocketClientManager.html index 008a1b4..27555da 100644 --- a/docs/Classes/SocketClientManager.html +++ b/docs/Classes/SocketClientManager.html @@ -464,7 +464,7 @@ manager["room1"]?.emit("hello") diff --git a/docs/Classes/SocketEngine.html b/docs/Classes/SocketEngine.html index 3be1660..ecd8d2c 100644 --- a/docs/Classes/SocketEngine.html +++ b/docs/Classes/SocketEngine.html @@ -1454,7 +1454,7 @@ 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 a4cefb7..1f365d2 100644 --- a/docs/Classes/SocketIOClient.html +++ b/docs/Classes/SocketIOClient.html @@ -494,7 +494,7 @@ So this should ideally be an array of one packet waiting for data.

Declaration

Swift

-
public private(set) var engine: SocketEngineSpec?
+
public internal(set) var engine: SocketEngineSpec?
@@ -2241,7 +2241,7 @@ Check that your server’s api will ack the event being sent.

diff --git a/docs/Enums.html b/docs/Enums.html index 7161afd..29bdf5b 100644 --- a/docs/Enums.html +++ b/docs/Enums.html @@ -369,7 +369,7 @@ diff --git a/docs/Enums/SocketAckStatus.html b/docs/Enums/SocketAckStatus.html index ab915bb..844667b 100644 --- a/docs/Enums/SocketAckStatus.html +++ b/docs/Enums/SocketAckStatus.html @@ -215,7 +215,7 @@ diff --git a/docs/Enums/SocketClientEvent.html b/docs/Enums/SocketClientEvent.html index 0ce4c8b..de05049 100644 --- a/docs/Enums/SocketClientEvent.html +++ b/docs/Enums/SocketClientEvent.html @@ -376,7 +376,7 @@ data item: the namespace that was connected to.

diff --git a/docs/Enums/SocketEnginePacketType.html b/docs/Enums/SocketEnginePacketType.html index 3accdf9..3c2d002 100644 --- a/docs/Enums/SocketEnginePacketType.html +++ b/docs/Enums/SocketEnginePacketType.html @@ -401,7 +401,7 @@ diff --git a/docs/Enums/SocketIOClientOption.html b/docs/Enums/SocketIOClientOption.html index 7518389..74ef801 100644 --- a/docs/Enums/SocketIOClientOption.html +++ b/docs/Enums/SocketIOClientOption.html @@ -951,7 +951,7 @@ the background. This option is experimental as socket.io shouldn’t diff --git a/docs/Enums/SocketIOClientStatus.html b/docs/Enums/SocketIOClientStatus.html index e006d87..e1ed9db 100644 --- a/docs/Enums/SocketIOClientStatus.html +++ b/docs/Enums/SocketIOClientStatus.html @@ -308,7 +308,7 @@ diff --git a/docs/Enums/SocketParsableError.html b/docs/Enums/SocketParsableError.html index 07fb450..94ec07e 100644 --- a/docs/Enums/SocketParsableError.html +++ b/docs/Enums/SocketParsableError.html @@ -277,7 +277,7 @@ diff --git a/docs/Guides.html b/docs/Guides.html index d12514b..6125200 100644 --- a/docs/Guides.html +++ b/docs/Guides.html @@ -177,7 +177,7 @@ diff --git a/docs/Protocols.html b/docs/Protocols.html index 5a239db..f8384bb 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -446,7 +446,7 @@ diff --git a/docs/Protocols/SocketData.html b/docs/Protocols/SocketData.html index d57ec00..b8282b2 100644 --- a/docs/Protocols/SocketData.html +++ b/docs/Protocols/SocketData.html @@ -243,7 +243,7 @@ diff --git a/docs/Protocols/SocketEngineClient.html b/docs/Protocols/SocketEngineClient.html index 2cd2cea..0d8f8e0 100644 --- a/docs/Protocols/SocketEngineClient.html +++ b/docs/Protocols/SocketEngineClient.html @@ -425,7 +425,7 @@ diff --git a/docs/Protocols/SocketEnginePollable.html b/docs/Protocols/SocketEnginePollable.html index 02cc588..1d6f779 100644 --- a/docs/Protocols/SocketEnginePollable.html +++ b/docs/Protocols/SocketEnginePollable.html @@ -488,7 +488,7 @@ disconnect us.

diff --git a/docs/Protocols/SocketEngineSpec.html b/docs/Protocols/SocketEngineSpec.html index f060eba..468fbf2 100644 --- a/docs/Protocols/SocketEngineSpec.html +++ b/docs/Protocols/SocketEngineSpec.html @@ -1079,7 +1079,7 @@ 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 df74cef..ab2c9c6 100644 --- a/docs/Protocols/SocketEngineWebsocket.html +++ b/docs/Protocols/SocketEngineWebsocket.html @@ -341,7 +341,7 @@ diff --git a/docs/Protocols/SocketIOClientSpec.html b/docs/Protocols/SocketIOClientSpec.html index 042998c..b6db0dc 100644 --- a/docs/Protocols/SocketIOClientSpec.html +++ b/docs/Protocols/SocketIOClientSpec.html @@ -1600,7 +1600,7 @@ will be emitted. The structure of the error data is [eventName, items, the diff --git a/docs/Protocols/SocketLogger.html b/docs/Protocols/SocketLogger.html index e5a8f95..bd274fa 100644 --- a/docs/Protocols/SocketLogger.html +++ b/docs/Protocols/SocketLogger.html @@ -389,7 +389,7 @@ diff --git a/docs/Protocols/SocketParsable.html b/docs/Protocols/SocketParsable.html index 7dd23eb..8b9b4c6 100644 --- a/docs/Protocols/SocketParsable.html +++ b/docs/Protocols/SocketParsable.html @@ -354,7 +354,7 @@ into the correct placeholder.

diff --git a/docs/Structs.html b/docs/Structs.html index 0700026..4b38947 100644 --- a/docs/Structs.html +++ b/docs/Structs.html @@ -273,7 +273,7 @@ diff --git a/docs/Structs/SocketEventHandler.html b/docs/Structs/SocketEventHandler.html index 9fabb48..ed24c66 100644 --- a/docs/Structs/SocketEventHandler.html +++ b/docs/Structs/SocketEventHandler.html @@ -357,7 +357,7 @@ diff --git a/docs/Structs/SocketIOClientConfiguration.html b/docs/Structs/SocketIOClientConfiguration.html index 2f300c8..0f2ecc3 100644 --- a/docs/Structs/SocketIOClientConfiguration.html +++ b/docs/Structs/SocketIOClientConfiguration.html @@ -636,7 +636,7 @@ diff --git a/docs/Structs/SocketPacket.html b/docs/Structs/SocketPacket.html index 985f67e..4c7ec79 100644 --- a/docs/Structs/SocketPacket.html +++ b/docs/Structs/SocketPacket.html @@ -480,7 +480,7 @@ event type packets.

diff --git a/docs/Structs/SocketPacket/PacketType.html b/docs/Structs/SocketPacket/PacketType.html index 57dac11..db72f29 100644 --- a/docs/Structs/SocketPacket/PacketType.html +++ b/docs/Structs/SocketPacket/PacketType.html @@ -401,7 +401,7 @@ diff --git a/docs/Typealiases.html b/docs/Typealiases.html index eb7618d..3599ac0 100644 --- a/docs/Typealiases.html +++ b/docs/Typealiases.html @@ -235,7 +235,7 @@ diff --git a/docs/faq.html b/docs/faq.html index ec3622c..731f0e4 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -219,7 +219,7 @@ will be released and its memory reclaimed.

diff --git a/docs/index.html b/docs/index.html index e7e3ccf..bac0084 100644 --- a/docs/index.html +++ b/docs/index.html @@ -238,9 +238,15 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{ import PackageDescription let package = Package( - name: "YourSocketIOProject", + name: "socket.io-test", + products: [ + .executable(name: "socket.io-test", targets: ["YourTargetName"]) + ], dependencies: [ - .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "12.0.0")) + .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "12.1.0")) + ], + targets: [ + .target(name: "YourTargetName", dependencies: ["SocketIO"], path: "./Path/To/Your/Sources") ] )
@@ -249,7 +255,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{

Carthage

Add this line to your Cartfile:

-
github "socketio/socket.io-client-swift" ~> 12.1.0 # Or latest version
+
github "socketio/socket.io-client-swift" ~> 12.1.1 # Or latest version
 

Run carthage update --platform ios,macosx.

@@ -261,7 +267,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{
use_frameworks!
 
 target 'YourApp' do
-    pod 'Socket.IO-Client-Swift', '~> 12.1.0' # Or latest version
+    pod 'Socket.IO-Client-Swift', '~> 12.1.1' # Or latest version
 end
 
@@ -301,7 +307,7 @@ SocketIOClient* socket = [[SocketIOClient alloc] initWithSocketURL:url config:@{