Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withWriteTimeout (0.09 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
Back to top