Hi guys, what is the best way to get the number of active connect to a ktor server application
q
Quap
03/17/2023, 11:35 PM
This might help you, I'm no expert, but I'd use a similar approach for active HTTP connections, if you only care about the total versus holding each connection you could just use a counter var
https://ktor.io/docs/websocket.html#handle-multiple-session