Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for connectTimeoutMillis (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        val chain =
          RealInterceptorChain(
            call = this,
            interceptors = interceptors,
            index = 0,
            exchange = null,
            request = originalRequest,
            connectTimeoutMillis = client.connectTimeoutMillis,
            readTimeoutMillis = client.readTimeoutMillis,
            writeTimeoutMillis = client.writeTimeoutMillis,
          )
    
        var calledNoMoreExchanges = false
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val followRedirects: Boolean = client.followRedirects()
        val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure()
        val callTimeoutMillis: Int = client.callTimeoutMillis()
        val connectTimeoutMillis: Int = client.connectTimeoutMillis()
        val readTimeoutMillis: Int = client.readTimeoutMillis()
        val writeTimeoutMillis: Int = client.writeTimeoutMillis()
        val pingIntervalMillis: Int = client.pingIntervalMillis()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000)
            val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS)
            assertThat(chainB.connectTimeoutMillis()).isEqualTo(100)
            chainB.proceed(chainA.request())
          }
        val interceptor2 =
          Interceptor { chain: Interceptor.Chain ->
            assertThat(chain.connectTimeoutMillis()).isEqualTo(100)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. docs/changelogs/upgrading_to_okhttp_4.md

       serverSocketFactory
     * **MultipartBody.Part**: body, headers
     * **MultipartBody.**: boundary, parts, size, type
     * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,
       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
       eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        ResponseCache.setDefault(DEFAULT_RESPONSE_CACHE)
      }
    
      @Test fun durationDefaults() {
        val client = clientTestRule.newClient()
        assertThat(client.callTimeoutMillis).isEqualTo(0)
        assertThat(client.connectTimeoutMillis).isEqualTo(10000)
        assertThat(client.readTimeoutMillis).isEqualTo(10000)
        assertThat(client.writeTimeoutMillis).isEqualTo(10000)
        assertThat(client.pingIntervalMillis).isEqualTo(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val followRedirects: Boolean = client.followRedirects
        val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure
        val callTimeoutMillis: Int = client.callTimeoutMillis
        val connectTimeoutMillis: Int = client.connectTimeoutMillis
        val readTimeoutMillis: Int = client.readTimeoutMillis
        val writeTimeoutMillis: Int = client.writeTimeoutMillis
        val pingIntervalMillis: Int = client.pingIntervalMillis
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        return RealInterceptorChain(
          call = call,
          interceptors = listOf(),
          index = 0,
          exchange = null,
          request = call.request(),
          connectTimeoutMillis = 10_000,
          readTimeoutMillis = 10_000,
          writeTimeoutMillis = 10_000,
        )
      }
    
      companion object {
        private const val PROXY_A_PORT = 1001
        private const val PROXY_A_HOST = "proxya"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top