Skip to content

Commit 620cc90

Browse files
committed
Merge pull request codebutler#3 from bkase/fire_connect
Fire onConnect event when connection established
2 parents 9760910 + 80322b3 commit 620cc90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/com/codebutler/android_websockets/SocketIOClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public void run() {
174174
mClient.send("2:::");
175175
}
176176
}, mHeartbeat);
177+
mHandler.onConnect();
177178
}
178179
}, null);
179180
mClient.connect();

0 commit comments

Comments
 (0)