Join Slack
Powered by
Hello, Could some one tell me the units of time th...
# ktor
s
Scott Rankin
09/20/2023, 3:27 AM
Hello, Could some one tell me the units of time the pingInterval [1]? [1]
https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client.plugins.websocket/-web-sockets/-config/index.html#640330204%2FPro[…]es%2F-1897681819
a
Aleksei Tirman [JB]
09/20/2023, 5:27 AM
The units are milliseconds.
s
Scott Rankin
09/20/2023, 3:25 PM
Thanks!
Scott Rankin
09/20/2023, 3:27 PM
And one follow up, both client and server need to set a pingInterval in order for ping-pong to happen?
a
Aleksei Tirman [JB]
09/21/2023, 7:40 AM
Only one needs to be an initiator, the other end would respond to pings automatically.
👍 1
2
Views
Open in Slack
Previous
Next