Merge branch 'master' into development

* master:
  Update SocketEngine.swift
  Update SocketEngine.swift
This commit is contained in:
Erik 2017-01-23 16:44:02 -05:00
commit 3db37023c7
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D

View File

@ -372,6 +372,7 @@ public final class SocketEngine : NSObject, URLSessionDelegate, SocketEnginePoll
self.sid = sid
connected = true
pongsMissed = 0
if let upgrades = json["upgrades"] as? [String] {
upgradeWs = upgrades.contains("websocket")