Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for withSocketFactory (0.08 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

      }
    
      override fun withDns(dns: Dns): Interceptor.Chain {
        check(exchange == null) { "dns can't be adjusted in a network interceptor" }
    
        return copy(dns = dns)
      }
    
      override fun withSocketFactory(socketFactory: SocketFactory): Interceptor.Chain {
        check(exchange == null) { "socketFactory can't be adjusted in a network interceptor" }
    
        return copy(socketFactory = socketFactory)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        /**
         * Override the [SocketFactory] for the Call.Chain.
         *
         * @throws IllegalStateException if this is a Network Interceptor, since the override is too late.
         */
        fun withSocketFactory(socketFactory: SocketFactory): Chain
    
        /**
         * Returns true if the call should retry on connection failures.
         */
        val retryOnConnectionFailure: Boolean
    
        /**
    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/InterceptorOverridesTest.kt

          override fun Interceptor.Chain.value(): SocketFactory = socketFactory
    
          override fun Interceptor.Chain.withOverride(value: SocketFactory): Interceptor.Chain = withSocketFactory(value)
    
          override fun OkHttpClient.Builder.withOverride(value: SocketFactory): OkHttpClient.Builder = socketFactory(value)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

          override val connectionPool: ConnectionPool
            get() = TODO()
    
          override fun withDns(dns: Dns): Interceptor.Chain {
            TODO()
          }
    
          override fun withSocketFactory(socketFactory: SocketFactory): Interceptor.Chain {
            TODO()
          }
    
          override fun withRetryOnConnectionFailure(retryOnConnectionFailure: Boolean): Interceptor.Chain {
            TODO()
          }
    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)
  5. okhttp/api/jvm/okhttp.api

    	public abstract fun withReadTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withRetryOnConnectionFailure (Z)Lokhttp3/Interceptor$Chain;
    	public abstract fun withSocketFactory (Ljavax/net/SocketFactory;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withSslSocketFactory (Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/X509TrustManager;)Lokhttp3/Interceptor$Chain;
    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/api/android/okhttp.api

    	public abstract fun withReadTimeout (ILjava/util/concurrent/TimeUnit;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withRetryOnConnectionFailure (Z)Lokhttp3/Interceptor$Chain;
    	public abstract fun withSocketFactory (Ljavax/net/SocketFactory;)Lokhttp3/Interceptor$Chain;
    	public abstract fun withSslSocketFactory (Ljavax/net/ssl/SSLSocketFactory;Ljavax/net/ssl/X509TrustManager;)Lokhttp3/Interceptor$Chain;
    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)
Back to Top