How to get connection join/left event in ktor
I want to implement the record of adding client connections in ktor's websocket, but I can't find the corresponding document. Is there a way to achieve this?
like this
install(websockets)
...
routing {
onOpen(session){
...
}
}