Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for secureConnectStart (0.08 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""dnsStart: ${url.host}"""))
          .assertLogMatch(Regex("""dnsEnd: \[.+]"""))
          .assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT"""))
          .assertLogMatch(Regex("""secureConnectStart"""))
          .assertLogMatch(
            Regex(
              """secureConnectEnd: Handshake\{tlsVersion=TLS_1_[23] cipherSuite=TLS_.* peerCertificates=\[CN=localhost] localCertificates=\[]\}""",
            ),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

        @Override public void connectStart(
            Call call, InetSocketAddress inetSocketAddress, Proxy proxy) {
          printEvent("connectStart");
        }
    
        @Override public void secureConnectStart(Call call) {
          printEvent("secureConnectStart");
        }
    
        @Override public void secureConnectEnd(Call call, Handshake handshake) {
          printEvent("secureConnectEnd");
        }
    
        @Override public void connectEnd(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * [Call.request] is a redirect to a different address, or a connection is retried.
       */
      open fun secureConnectStart(call: Call) {
      }
    
      /**
       * Invoked immediately after a TLS connection was attempted.
       *
       * This method is invoked after [secureConnectStart].
       */
      open fun secureConnectEnd(
        call: Call,
        handshake: Handshake?,
      ) {
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

      fun addPlanToCancel(connectPlan: ConnectPlan)
    
      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,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

      override fun removePlanToCancel(connectPlan: ConnectPlan) {
      }
    
      override fun updateRouteDatabaseAfterSuccess(route: Route) {
      }
    
      override fun connectStart(route: Route) {
      }
    
      override fun secureConnectStart() {
      }
    
      override fun secureConnectEnd(handshake: Handshake?) {
      }
    
      override fun callConnectEnd(
        route: Route,
        protocol: Protocol?,
      ) {
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        expectedEvents += "ProxySelectEnd"
        expectedEvents += "DnsStart"
        expectedEvents += "DnsEnd"
        expectedEvents += "ConnectStart"
        if (https) {
          expectedEvents += "SecureConnectStart"
          expectedEvents += "SecureConnectEnd"
        }
        expectedEvents += "ConnectEnd"
        expectedEvents += "ConnectionAcquired"
        expectedEvents += "RequestHeadersStart"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/api/logging-interceptor.api

    	public fun responseHeadersStart (Lokhttp3/Call;)V
    	public fun satisfactionFailure (Lokhttp3/Call;Lokhttp3/Response;)V
    	public fun secureConnectEnd (Lokhttp3/Call;Lokhttp3/Handshake;)V
    	public fun secureConnectStart (Lokhttp3/Call;)V
    }
    
    public final class okhttp3/logging/LoggingEventListener$Companion {
    }
    
    public class okhttp3/logging/LoggingEventListener$Factory : okhttp3/EventListener$Factory {
    	public fun <init> ()V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          return if (matchResult != null) {
            matchResult.groupValues[1].replace(" ", "")
          } else {
            null
          }
        }
    
        override fun secureConnectStart(call: Call) {
          // Register to capture "Produced ClientHello handshake message".
          currentThread = Thread.currentThread()
          logger.addHandler(loggerHandler)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            if (source?.buffer?.exhausted() == false || sink?.buffer?.exhausted() == false) {
              throw IOException("TLS tunnel buffered too many bytes!")
            }
    
            user.secureConnectStart()
    
            // Create the wrapper over the connected socket.
            val sslSocket =
              route.address.sslSocketFactory.createSocket(
                rawSocket,
                route.address.url.host,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top