File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,6 @@ open class SocketEngine:
566566
567567 private func sendPing( ) {
568568 guard connected, let pingInterval = pingInterval else {
569- print ( " not connected \( self . connected) or no ping interval \( self . pingInterval ?? - 222 ) " )
570569 return
571570 }
572571
@@ -582,7 +581,6 @@ open class SocketEngine:
582581 engineQueue. asyncAfter ( deadline: . now( ) + . milliseconds( pingInterval) ) { [ weak self, id = self . sid] in
583582 // Make sure not to ping old connections
584583 guard let this = self , this. sid == id else {
585- print ( " wrong ping? " )
586584 return
587585 }
588586
Original file line number Diff line number Diff line change 11# Upgrading from v15 to v16
22
33This 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