Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for startHttp2 (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      @Throws(IOException::class)
      fun start() {
        idleAtNs = System.nanoTime()
        if (protocol == Protocol.HTTP_2 || protocol == Protocol.H2_PRIOR_KNOWLEDGE) {
          startHttp2()
        }
      }
    
      @Throws(IOException::class)
      private fun startHttp2() {
        javaNetSocket.soTimeout = 0 // HTTP/2 connection timeouts are set per-stream.
        val flowControlListener = connectionListener as? FlowControlListener ?: FlowControlListener.None
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top