Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for callTimeoutMillis (0.13 sec)

  1. 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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      @JvmName("-deprecated_callTimeoutMillis")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "callTimeoutMillis"),
        level = DeprecationLevel.ERROR,
      )
      fun callTimeoutMillis(): Int = callTimeoutMillis
    
      @JvmName("-deprecated_connectTimeoutMillis")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "connectTimeoutMillis"),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. 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)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      private val timeout =
        object : AsyncTimeout() {
          override fun timedOut() {
            ******@****.***()
          }
        }.apply {
          timeout(client.callTimeoutMillis.toLong(), MILLISECONDS)
        }
    
      private val executed = AtomicBoolean()
    
      // These properties are only accessed by the thread executing the call.
    
      /** Initialized in [callStart]. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        CookieManager.setDefault(DEFAULT_COOKIE_HANDLER)
        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)
    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 followSslRedirects: Boolean = client.followSslRedirects
        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
    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/api/okhttp.api

    	public fun <init> ()V
    	public final fun address (Lokhttp3/HttpUrl;)Lokhttp3/Address;
    	public final fun authenticator ()Lokhttp3/Authenticator;
    	public final fun cache ()Lokhttp3/Cache;
    	public final fun callTimeoutMillis ()I
    	public final fun certificateChainCleaner ()Lokhttp3/internal/tls/CertificateChainCleaner;
    	public final fun certificatePinner ()Lokhttp3/CertificatePinner;
    	public final fun connectTimeoutMillis ()I
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top