WebSocket connections are typically set-up to remain connected to the server. Proxies or other middleboxes may shut down the TCP connection after some inactivity. This PR enables the client to send WebSocket Ping Frames at a fixed interval to maintain the client connection.
WebSocket connections are typically set-up to remain connected to the server. Proxies or other middleboxes may shut down the TCP connection after some inactivity. This PR enables the client to send WebSocket Ping Frames at a fixed interval to maintain the client connection.