Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for networkInterceptorCannotChangeWriteTimeout (0.86 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

          call.execute()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Timeouts can't be adjusted in a network interceptor")
        }
      }
    
      @Test
      fun networkInterceptorCannotChangeWriteTimeout() {
        addInterceptor(true) { chain: Interceptor.Chain ->
          chain
            .withWriteTimeout(
              100,
              TimeUnit.MILLISECONDS,
            ).proceed(chain.request())
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top