Deploying HTTP applications without downtime isn't that hard: HTTP is stateless, so with a load balancer in front of 2 HTTP applications solves the problem. If both applications use a common backend to handle the sessions, everything turns out fine.
However, WebSocket is a stateful protocol. Which means that if you shut down the application, the link will be cut.
Does WebSocket handle reconnecting seamlessly, in this case a load balancer handles the situation just like with HTTP applications? How is it possible to occur no downtime when deploying a WebSocket application?