File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,6 @@ open class SocketEngine:
566
566
567
567
private func sendPing( ) {
568
568
guard connected, let pingInterval = pingInterval else {
569
- print ( " not connected \( self . connected) or no ping interval \( self . pingInterval ?? - 222 ) " )
570
569
return
571
570
}
572
571
@@ -582,7 +581,6 @@ open class SocketEngine:
582
581
engineQueue. asyncAfter ( deadline: . now( ) + . milliseconds( pingInterval) ) { [ weak self, id = self . sid] in
583
582
// Make sure not to ping old connections
584
583
guard let this = self , this. sid == id else {
585
- print ( " wrong ping? " )
586
584
return
587
585
}
588
586
Original file line number Diff line number Diff line change 1
1
# Upgrading from v15 to v16
2
2
3
3
This guide will help you navigate the changes that were introduced in v16.
4
+
5
+ ## Objective-c is no longer supported. You must now use Swift.
6
+
7
+ ## Client supports multiple socket.io versions
8
+
9
+ The client now supports socket.io 3 servers. This is mostly a transparent change, however if your sever
10
+ is socket.io 2, you must send ` .version(.two) ` as an option to the manager.
11
+
12
+ ``` swift
13
+ SocketManager (socketURL : URL (string :" http://localhost:8087/" )! , config : [.version (.two )])
14
+ ```
15
+
16
+
You can’t perform that action at this time.
0 commit comments