Skip to content

Commit

Permalink
Merge pull request koush#3 from bkase/fire_connect
Browse files Browse the repository at this point in the history
Fire onConnect event when connection established
  • Loading branch information
koush committed Jan 3, 2013
2 parents 9760910 + 80322b3 commit 620cc90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/codebutler/android_websockets/SocketIOClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public void run() {
mClient.send("2:::");
}
}, mHeartbeat);
mHandler.onConnect();
}
}, null);
mClient.connect();
Expand Down

0 comments on commit 620cc90

Please sign in to comment.