Upgrading from v12
@@ -195,8 +236,8 @@ the swift client now only uses one engine per connection. Previously in order to to create multiple clients, and each client had its own engine.Some v12 code might’ve looked like this:
-let defaultSocket = SocketIOClient(socketURL: myURL)
-let namespaceSocket = SocketIOClient(socketURL: myURL, config: [.nsp("/swift")])
+let defaultSocket = SocketIOClient(socketURL: myURL)
+let namespaceSocket = SocketIOClient(socketURL: myURL, config: [.nsp("/swift")])
 
 // add handlers for sockets and connect
 
@@ -205,7 +246,7 @@ to create multiple clients, and each client had its own engine.
 In v12 this would have opened two connections to the socket.io.
 
 In v13 the same code would look like this:
-let manager = SocketManager(socketURL: myURL)
+let manager = SocketManager(socketURL: myURL)
 let defaultSocket = manager.defaultSocket
 let namespaceSocket = manager.socket(forNamespace: "/swift")
 
@@ -236,9 +277,9 @@ associated with that namespace.
 You should know that SocketIOClients no longer need to be held around in properties, but the SocketManager should.
 
 One of the most common mistakes people made is not maintaining a strong reference to the client.
-class Manager {
+class Manager {
     func addHandlers() {
-        let socket = SocketIOClient(socketURL: myURL, config: [.nsp("/swift")])
+        let socket = SocketIOClient(socketURL: myURL, config: [.nsp("/swift")])
 
         // Add handlers
     }
@@ -248,8 +289,8 @@ associated with that namespace.
 This would have resulted in the client being released and no handlers being called.
 
 A correct equivalent would be:
-class Manager {
-    let socketManager = SocketManager(socketURL: someURL)
+class Manager {
+    let socketManager = SocketManager(socketURL: someURL)
 
     func addHandlers() {
         let socket = socketManager.socket(forNamespace: "/swift")
@@ -268,7 +309,7 @@ multiple managers.
 What to call connect on
 
 Connect can either be called on the manager directly, or on one of the sockets made from it. In either case, if the manager
-was not already connected to the server, a connection will be made. Also in both cases the default socket (namespace /
)
+was not already connected to the server, a connection will be made. Also in both cases the default socket (namespace “/”)
 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
@@ -283,8 +324,8 @@ and a connect event fired.
       
     
+      15to16  Reference
+