Skip to content

Commit

Permalink
set socket sid
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearace committed Mar 12, 2015
1 parent 74939f1 commit 8e7c844
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SwiftIO/SocketIOClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public class SocketIOClient: NSObject {
self.currentReconnectAttempt = 0
self.reconnectTimer?.invalidate()
self.reconnectTimer = nil
self.sid = self.engine?.sid

self.handleEvent("connect", data: nil, isInternalMessage: false)
}
Expand Down

0 comments on commit 8e7c844

Please sign in to comment.