Hi,
I think it would be a nice addition to allow to configure the reconnecting-websocket to preemptively open a new connection periodically and switch messages to it atomically. This would allow to avoid message loss in the case when the connections are know to be cut off (by the server, or intermediate proxies. For example https://kubernetes.github.io/ingress-nginx/user-guide/miscellaneous/#websockets by default has a timeout of 60 seconds)
Hi, I think it would be a nice addition to allow to configure the reconnecting-websocket to preemptively open a new connection periodically and switch messages to it atomically. This would allow to avoid message loss in the case when the connections are know to be cut off (by the server, or intermediate proxies. For example https://kubernetes.github.io/ingress-nginx/user-guide/miscellaneous/#websockets by default has a timeout of 60 seconds)