Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for Handshake (0.17 sec)

  1. okhttp/api/android/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)
  2. mockwebserver/api/mockwebserver3.api

    	public fun setFailFast (Z)V
    }
    
    public final class mockwebserver3/RecordedRequest {
    	public fun <init> (IILokhttp3/Handshake;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lokhttp3/HttpUrl;Lokhttp3/Headers;Lokio/ByteString;JLjava/util/List;Ljava/io/IOException;)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

        override val timestampNs: Long,
        override val call: Call,
      ) : CallEvent()
    
      data class SecureConnectEnd(
        override val timestampNs: Long,
        override val call: Call,
        val handshake: Handshake?,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean = event is SecureConnectStart && call == event.call
      }
    
      data class ConnectionAcquired(
        override val timestampNs: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/BouncyCastleTest.kt

        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. 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)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

        bodySize = bodySize,
        body = Buffer().write(body ?: ByteString.EMPTY),
        sequenceNumber = exchangeIndex,
        failure = failure,
        method = method,
        path = target,
        handshake = handshake,
        requestUrl = url,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

            "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=");
    
        @Override public Response intercept(Chain chain) throws IOException {
          for (Certificate certificate : chain.connection().handshake().peerCertificates()) {
            String pin = CertificatePinner.pin(certificate);
            if (denylist.contains(pin)) {
              throw new IOException("Denylisted peer certificate: " + pin);
            }
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

        assertThat(cache.requestCount()).isEqualTo(2)
        assertThat(cache.networkCount()).isEqualTo(1)
        assertThat(cache.hitCount()).isEqualTo(1)
    
        assertThat(response.handshake!!.cipherSuite.javaName).startsWith("SLT_")
      }
    
      @Test
      fun truncatedMetadataEntry() {
        val response =
          testCorruptingCache {
            corruptMetadata {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_3x.md

        application code that creates challenges.
    
     *  New: The `TlsVersion` of a `Handshake` is now non-null. If you are calling
        `Handshake.get()` with a null TLS version, you must instead now provide a
        non-null `TlsVersion`. Cache responses persisted prior to OkHttp 3.0 did not
        store a TLS version; for these unknown values the handshake is defaulted to
        `TlsVersion.SSL_3_0`.
    
     *  New: Upgrade to Okio 1.13.0.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

      }
    
      /**
       * Invoked immediately after a TLS connection was attempted.
       *
       * This method is invoked after [secureConnectStart].
       */
      open fun secureConnectEnd(
        call: Call,
        handshake: Handshake?,
      ) {
      }
    
      /**
       * Invoked immediately after a socket connection was attempted.
       *
       * If the `call` uses HTTPS, this will be invoked after [secureConnectEnd], otherwise it will
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top