*Question regarding websockets:* How to know if th...
# ktor
a
Question regarding websockets: How to know if the connection with client was lost (due to some internet issue or something weird happened or closed by client itself). I am making sessionid for new connections and sending it to client side so that if temporary connection was lost he can resume using the id and respective authentication to also request for the data that was not successfully received by the client. But for resuming i need to store inactive connection so somewhere in different list than active connections because looping through common list of active and inactive connection is cpu consuming and inefficient. I want to pull inactive connections into seperate list from active connection list immediately once connection is lost.