Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for connectTimeoutMillis (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

      @JvmName("-deprecated_connectTimeoutMillis")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "connectTimeoutMillis"),
        level = DeprecationLevel.ERROR,
      )
      fun connectTimeoutMillis(): Int = connectTimeoutMillis
    
      @JvmName("-deprecated_readTimeoutMillis")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "readTimeoutMillis"),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        /**
         * Returns the `Call` to which this chain belongs.
         */
        fun call(): Call
    
        /**
         * Returns the connect timeout in milliseconds.
         */
        fun connectTimeoutMillis(): Int
    
        /**
         * Returns a new chain with the specified connect timeout.
         */
        fun withConnectTimeout(
          timeout: Int,
          unit: TimeUnit,
        ): Chain
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  4. okhttp/api/jvm/okhttp.api

    	public abstract fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    }
    
    public abstract interface class okhttp3/Interceptor$Chain {
    	public abstract fun call ()Lokhttp3/Call;
    	public abstract fun connectTimeoutMillis ()I
    	public abstract fun connection ()Lokhttp3/Connection;
    	public abstract fun getAuthenticator ()Lokhttp3/Authenticator;
    	public abstract fun getCache ()Lokhttp3/Cache;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  5. okhttp/api/android/okhttp.api

    	public abstract fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    }
    
    public abstract interface class okhttp3/Interceptor$Chain {
    	public abstract fun call ()Lokhttp3/Call;
    	public abstract fun connectTimeoutMillis ()I
    	public abstract fun connection ()Lokhttp3/Connection;
    	public abstract fun getAuthenticator ()Lokhttp3/Authenticator;
    	public abstract fun getCache ()Lokhttp3/Cache;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

          connectionPool = client.connectionPool.delegate,
          readTimeoutMillis = client.readTimeoutMillis,
          writeTimeoutMillis = client.writeTimeoutMillis,
          socketConnectTimeoutMillis = chain.connectTimeoutMillis,
          socketReadTimeoutMillis = chain.readTimeoutMillis,
          pingIntervalMillis = client.pingIntervalMillis,
          retryOnConnectionFailure = client.retryOnConnectionFailure,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/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)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
Back to Top