- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 105 for handshake (0.09 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
val request = Request(server.url("/")) val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion) assertEquals(Protocol.HTTP_2, response.protocol) assertThat(response.exchangeAccessor!!.connectionAccessor.socket()) .isInstanceOf<SSLSocketImpl>() } } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt
* connection the socket may be shared by multiple concurrent calls. */ fun socket(): Socket /** * Returns the TLS handshake used to establish this connection, or null if the connection is not * HTTPS. */ fun handshake(): Handshake? /** * Returns the protocol negotiated by this connection, or [Protocol.HTTP_1_1] if no protocol
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java
printEvent("connectStart"); } @Override public void secureConnectStart(Call call) { printEvent("secureConnectStart"); } @Override public void secureConnectEnd(Call call, Handshake handshake) { printEvent("secureConnectEnd"); } @Override public void connectEnd( Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) { printEvent("connectEnd");
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 5.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionUser.kt
fun removePlanToCancel(connectPlan: ConnectPlan) fun updateRouteDatabaseAfterSuccess(route: Route) fun connectStart(route: Route) fun secureConnectStart() fun secureConnectEnd(handshake: Handshake?) fun callConnectEnd( route: Route, protocol: Protocol?, ) fun connectionConnectEnd( connection: Connection, route: Route, ) fun connectFailed(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public fun toString ()Ljava/lang/String; } public final class okhttp3/Handshake$Companion { public final fun -deprecated_get (Ljavax/net/ssl/SSLSession;)Lokhttp3/Handshake; public final fun get (Ljavax/net/ssl/SSLSession;)Lokhttp3/Handshake; public final fun get (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)Lokhttp3/Handshake; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
logWithTime("secureConnectStart") delegate.secureConnectStart(call) } override fun secureConnectEnd( call: Call, handshake: Handshake?, ) { logWithTime("secureConnectEnd: $handshake") delegate.secureConnectEnd(call, handshake) } override fun connectEnd( call: Call, inetSocketAddress: InetSocketAddress, proxy: Proxy, protocol: Protocol?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/features/https.md
.build(); ``` ### Debugging TLS Handshake Failures The TLS handshake requires clients and servers to share a common TLS version and cipher suite. This depends on the JVM or Android version, OkHttp version, and web server configuration. If there is no common cipher suite and TLS version, your call will fail like this: ``` Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7f2719a89e80:
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
private val retryableException = SSLHandshakeException("Simulated handshake exception") @RegisterExtension val clientTestRule = OkHttpClientTestRule() private var client = clientTestRule.newClient() @AfterEach internal fun tearDown() { factory.close() } @Test fun nonRetryableIOException() { val exception = IOException("Non-handshake exception") assertThat(retryTlsHandshake(exception)).isFalse() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
<img src="/img/deployment/https/https01.drawio.svg"> ### TLS Handshake Start { #tls-handshake-start } The browser would then communicate with that IP address on **port 443** (the HTTPS port).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 14.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
printEvent("connectStart"); } @Override public void secureConnectStart(Call call) { printEvent("secureConnectStart"); } @Override public void secureConnectEnd(Call call, Handshake handshake) { printEvent("secureConnectEnd"); } @Override public void connectEnd( Call call, InetSocketAddress inetSocketAddress, Proxy proxy, Protocol protocol) { printEvent("connectEnd");
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0)