Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for connectTimeout (8.03 sec)

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

         *
         * The connect timeout is applied when connecting a TCP socket to the target host. The default
         * value is 10 seconds.
         */
        fun connectTimeout(
          timeout: Long,
          unit: TimeUnit,
        ) = apply {
          connectTimeout = checkDuration("timeout", timeout, unit)
        }
    
        /**
         * Sets the default connect timeout for new connections. A value of 0 means no timeout,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    	public final fun certificatePinner (Lokhttp3/CertificatePinner;)Lokhttp3/OkHttpClient$Builder;
    	public final fun connectTimeout (JLjava/util/concurrent/TimeUnit;)Lokhttp3/OkHttpClient$Builder;
    	public final fun connectTimeout (Ljava/time/Duration;)Lokhttp3/OkHttpClient$Builder;
    	public final fun connectTimeout-LRDsOJo (J)Lokhttp3/OkHttpClient$Builder;
    	public final fun connectionPool (Lokhttp3/ConnectionPool;)Lokhttp3/OkHttpClient$Builder;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top