Skip to content

Commit 80322b3

Browse files
committed
Fire onConnect event when connection established
In the SocketIOClient, `onConnect()` never called `mHandler.onConnect()`
1 parent e088b9e commit 80322b3

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
@@ -169,6 +169,7 @@ public void run() {
169169
mClient.send("2:::");
170170
}
171171
}, mHeartbeat);
172+
mHandler.onConnect();
172173
}
173174
}, null);
174175
mClient.connect();

0 commit comments

Comments
 (0)