Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for callTimeout (0.09 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * all must complete within one timeout period.
         *
         * The default value is 0 which imposes no timeout.
         */
        fun callTimeout(
          timeout: Long,
          unit: TimeUnit,
        ) = apply {
          callTimeout = checkDuration("timeout", timeout, unit)
        }
    
        /**
         * Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise values
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    	public final fun build ()Lokhttp3/OkHttpClient;
    	public final fun cache (Lokhttp3/Cache;)Lokhttp3/OkHttpClient$Builder;
    	public final fun callTimeout (JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;
    	public final fun callTimeout (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder;
    	public final fun callTimeout-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder;
    	public final fun certificatePinner (Lokhttp3/CertificatePinner;)Lokhttp3/OkHttpClient$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        reading the full response body. If a call requires redirects or retries all must complete within
        one timeout period.
    
        Use `OkHttpClient.Builder.callTimeout()` to specify the default duration and `Call.timeout()` to
        specify the timeout of an individual call.
    
     *  New: Return values and fields are now non-null unless otherwise annotated.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top