Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for flowControlListener (0.42 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        fun pingIntervalMillis(pingIntervalMillis: Int) =
          apply {
            this.pingIntervalMillis = pingIntervalMillis
          }
    
        fun flowControlListener(flowControlListener: FlowControlListener) =
          apply {
            this.flowControlListener = flowControlListener
          }
    
        fun build(): Http2Connection {
          return Http2Connection(this)
        }
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        val flowControlListener = connectionListener as? FlowControlListener ?: FlowControlListener.None
        val http2Connection =
          Http2Connection.Builder(client = true, taskRunner)
            .socket(socket, route.address.url.host, source, sink)
            .listener(this)
            .pingIntervalMillis(pingIntervalMillis)
            .flowControlListener(flowControlListener)
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

                }
              } finally {
                if (doReadTimeout) {
                  readTimeout.exitAndThrowIfTimedOut()
                }
              }
            }
            connection.flowControlListener.receivingStreamWindowChanged(id, readBytes, readBuffer.size)
    
            // 2. Do it outside of the synchronized block and timeout.
    
            if (tryAgain) {
              continue
            }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top