Azure / azure-relay-java

Azure Relay Java SDK
MIT License
8 stars 9 forks source link

Implement keep-alive via WebSocket Ping #91

Closed tvenhaus closed 1 year ago

tvenhaus commented 1 year ago

WebSocket connections are often meant to be open for long periods of time. The purpose of Ping messages is to keep networking appliances from closing the connection due to a period of inactivity.

This Pull Request will result in all WebSocket connections sending a Ping message every 30 seconds.