finagle / finagle-websocket

Finagle Websocket clients and servers
35 stars 23 forks source link

Enables the client to send an optional keepAlive via WS Ping #8

Closed mkhq closed 8 years ago

mkhq commented 8 years ago

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.