- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for withSocketFactory (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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)