- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for withSslSocketFactory (0.84 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
check(exchange == null) { "proxyAuthenticator can't be adjusted in a network interceptor" } return copy(proxyAuthenticator = proxyAuthenticator) } override fun withSslSocketFactory( sslSocketFactory: SSLSocketFactory?, x509TrustManager: X509TrustManager?, ): Interceptor.Chain { check(exchange == null) { "sslSocketFactory can't be adjusted in a network interceptor" }
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) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
override fun Interceptor.Chain.value(): SSLSocketFactory? = sslSocketFactoryOrNull override fun Interceptor.Chain.withOverride(value: SSLSocketFactory?): Interceptor.Chain = withSslSocketFactory(value, x509TrustManagerOrNull) override fun OkHttpClient.Builder.withOverride(value: SSLSocketFactory?): OkHttpClient.Builder = sslSocketFactory(value!!, x509TrustManagerOrNull!!)
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)