Open achingbrain opened 3 months ago
Adds an optional heartbeatMs key to the server config that will ping each connected client on that interval - if they have not responded with a pong since the last interval, the client will be disconnected as described at https://www.npmjs.com/package/ws#how-to-detect-and-close-broken-connections
heartbeatMs
Fixes #113
Adds an optional
heartbeatMs
key to the server config that will ping each connected client on that interval - if they have not responded with a pong since the last interval, the client will be disconnected as described at https://www.npmjs.com/package/ws#how-to-detect-and-close-broken-connectionsFixes #113