- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 162 for okHttpClient (0.06 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
* limitations under the License. */ package okhttp3.internal.platform.android import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import javax.net.ssl.X509TrustManager import okhttp3.OkHttpClient import okhttp3.internal.platform.Platform import okhttp3.internal.readFieldOrNull /** * Base Android reflection based SocketAdapter for the built in Android SSLSocket. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
import javax.security.auth.callback.Callback import javax.security.auth.callback.CallbackHandler import javax.security.auth.callback.PasswordCallback import javax.security.auth.callback.UnsupportedCallbackException import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.internal.SuppressSignatureCheck import okhttp3.internal.platform.Platform /** * Example of using a hardware key to perform client auth.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 4.2K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
*/ package okhttp.android.test.letsencrypt import android.os.Build import assertk.assertThat import assertk.assertions.isEqualTo import java.security.cert.X509Certificate import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request import okhttp3.tls.HandshakeCertificates import okhttp3.tls.decodeCertificatePem import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.4K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
import assertk.assertions.containsOnly import assertk.assertions.isNull import java.net.UnknownHostException import okhttp3.ConnectionSpec import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.internal.platform.AndroidPlatform import okhttp3.logging.HttpLoggingInterceptor import okhttp3.logging.LoggingEventListener import org.junit.Test import org.junit.runner.RunWith
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import okhttp3.Call import okhttp3.Callback import okhttp3.DelegatingServerSocketFactory import okhttp3.DelegatingSocketFactory import okhttp3.OkHttpClient import okhttp3.OkHttpClientTestRule import okhttp3.Request import okhttp3.RequestBody import okhttp3.Response import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.MockWebServer
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/contribute/concurrency.md
These are the primary classes involved with establishing, sharing, and terminating connections: * **RealConnectionPool** manages reuse of HTTP and HTTP/2 connections for reduced latency. Every OkHttpClient has one, and its lifetime spans the lifetime of the OkHttpClient.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
CHANGELOG.md
first. Fast fallback gives IPv6 connections a 250 ms head start so IPv6 is preferred on networks where it's available. To opt-in, configure your `OkHttpClient.Builder`: ``` OkHttpClient client = new OkHttpClient.Builder() .fastFallback(true) .build(); ``` * New: Change the build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM). Both
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 31.6K bytes - Viewed (1) -
okhttp-dnsoverhttps/README.md
```kotlin testImplementation("com.squareup.okhttp3:okhttp-dnsoverhttps:5.1.0") ``` ### Usage ``` val appCache = Cache(File("cacheDir", "okhttpcache"), 10 * 1024 * 1024) val bootstrapClient = OkHttpClient.Builder().cache(appCache).build() val dns = DnsOverHttps.Builder().client(bootstrapClient) .url("https://dns.google/dns-query".toHttpUrl())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 739 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
* exceptions. * * Use [newClient] as a factory for a OkHttpClient instances. These instances are specifically * configured for testing. */ class OkHttpClientTestRule : BeforeEachCallback, AfterEachCallback { private val clientEventsList = mutableListOf<String>() private var testClient: OkHttpClient? = null private var uncaughtException: Throwable? = null private lateinit var testName: String
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
import javax.net.ssl.SSLSession import javax.net.ssl.SSLSocket import okhttp3.Call import okhttp3.Connection import okhttp3.ConnectionSpec import okhttp3.EventListener import okhttp3.Handshake import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.TlsVersion import okhttp3.TlsVersion.TLS_1_2 import okhttp3.TlsVersion.TLS_1_3 import okhttp3.internal.SuppressSignatureCheck
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0)