Join Slack
Powered by
Hi folks. I'm using Ktor to connect to a WebSocket...
# ktor
g
Gus
12/07/2020, 12:07 PM
Hi folks. I'm using Ktor to connect to a WebSocket server using the OkHTTP engine. Does Ktor proactively detect and terminate broken connections using WebSocket pings? If not, how can I do it manually? I can't find any docs on this.
Gus
12/07/2020, 12:10 PM
Ah, I get the impression I'll have to use
https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/-builder/ping-interval/
explicitly
👍 1
5
Views
Open in Slack
Previous
Next