Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top