Animesh Sahu
10/16/2019, 4:41 PMSpike Baylor
10/16/2019, 4:43 PMAnimesh Sahu
10/16/2019, 4:43 PMCasey Brooks
10/16/2019, 4:46 PMActors
and made the app state immutable, to avoid multithreading issues. (https://github.com/cjbrooks12/witch-hunt)
For sending regular pings from the server to the client, you could set up a ticker channel which notifies connected clients on each tick (https://kotlinlang.org/docs/reference/coroutines/channels.html#ticker-channels)Animesh Sahu
10/16/2019, 4:50 PMCasey Brooks
10/16/2019, 4:53 PMAnimesh Sahu
10/16/2019, 4:58 PMCasey Brooks
10/16/2019, 5:10 PMpingPeriod
option available when you install the websocketpinger
method is used in the DefaultWebSocketSessionImpl
class, though I’m not quite sure what it’s doing or when it’s actually pingingAnimesh Sahu
10/17/2019, 4:21 AM