Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readTimeoutOnSlowConnection (0.09 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

       * second.  If our implementation is acting correctly, it will throw, as a byte doesn't arrive in
       * time.
       */
      @Test
      fun readTimeoutOnSlowConnection() {
        val body = repeat('y', 2048)
        server.enqueue(
          MockResponse
            .Builder()
            .body(body)
            .throttleBody(1024, 1, TimeUnit.SECONDS)
            .build(),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
Back to top