anismiles/websocket-android-phonegap

How to implement a onReconnect method?

Opened this issue · 1 comments

j4rs commented

Hi,

Good job, Q: How to implement a reconnect logic?, WeSocket.java dosent has a onReconnect method :)

Thanks in advance !

You would need to implement this in the java and javascript files both. If you happen to do it, why don't you fork the project and implement it, and later send me a pull request.