I want to do the ping/pong only when there is no a...
# ktor
v
I want to do the ping/pong only when there is no active dataflow exist in the WebSocket client connection.. is it possible?
a
You can use raw WebSockets to manually manage the control frames like PING, PONG, and CLOSE. See the Route.webSocketRaw and the HttpClient.webSocketRaw methods.