async-http-client
async-http-client copied to clipboard
Support WebSocket auto-reconnect
last year, i used the websocket function, I find when the server disconnect the nettywebsocket client, then I don't know how reconnect the server side. I just only close this asyncHttpClient and renew a websocket. I think it is not well for it, the framework should be support reconnect, make it for reuse.
Contributions welcome.
I can take a look at it.
@sivaalli Sure, feel free to take a stab at it. But I advice you only do so if you have a need for this on an actual use case.
From my experience, for lots of applications, re-opening a WebSocket is not just a matter of re-connecting but actually requires some application logic such as sending again some authentication message or renewing a token.
So far, only one single perso has requested this. IMHO, this is not enough feedback yet to decide to invest time on this.
Agreed. I do not specifically need this use case. If there is traction on this request, I will revisit. Thanks :)
@slandelle I propose we close this since indeed no traction.