Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writePingFrame (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

          this.writerTask = WriterTask()
          if (pingIntervalMillis != 0L) {
            val pingIntervalNanos = MILLISECONDS.toNanos(pingIntervalMillis)
            taskQueue.schedule("$name ping", pingIntervalNanos) {
              writePingFrame()
              return@schedule pingIntervalNanos
            }
          }
          if (messageAndCloseQueue.isNotEmpty()) {
            runWriter() // Send messages that were enqueued before we were connected.
          }
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top