- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for withAuthenticator (0.33 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
check(exchange == null) { "retryOnConnectionFailure can't be adjusted in a network interceptor" } return copy(retryOnConnectionFailure = retryOnConnectionFailure) } override fun withAuthenticator(authenticator: Authenticator): Interceptor.Chain { check(exchange == null) { "authenticator can't be adjusted in a network interceptor" } return copy(authenticator = authenticator) }
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(): Authenticator = authenticator override fun Interceptor.Chain.withOverride(value: Authenticator): Interceptor.Chain = withAuthenticator(value) override fun OkHttpClient.Builder.withOverride(value: Authenticator): OkHttpClient.Builder = authenticator(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)