Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for networkInterceptorCannotChangeWriteTimeout (0.11 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top