timeoutMillis

abstract var timeoutMillis: Long

Specifies a timeout to wait for pong reply to ping; otherwise, the session will be terminated immediately. It doesn't have any effect if pingIntervalMillis is -1 (pinger is disabled).