- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for networkInterceptorCannotChangeWriteTimeout (0.17 sec)
-
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0)