Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withWriteTimeout (0.15 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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 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()
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
Back to top