Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withWriteTimeout (0.07 sec)

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

        }
      }
    
      @Test
      fun networkInterceptorCannotChangeWriteTimeout() {
        addInterceptor(true) { chain: Interceptor.Chain ->
          chain
            .withWriteTimeout(
              100,
              TimeUnit.MILLISECONDS,
            ).proceed(chain.request())
        }
        val request1 = Request.Builder().url(server.url("/")).build()
        val call = client.newCall(request1)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

          override fun withReadTimeout(
            timeout: Int,
            unit: TimeUnit,
          ): Interceptor.Chain = TODO()
    
          override fun writeTimeoutMillis(): Int = TODO()
    
          override fun withWriteTimeout(
            timeout: Int,
            unit: TimeUnit,
          ): Interceptor.Chain = TODO()
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
Back to top