Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for secureConnectStart (0.36 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
      ) {
        logWithTime("connectStart: $inetSocketAddress $proxy")
      }
    
      override fun secureConnectStart(call: Call) {
        logWithTime("secureConnectStart")
      }
    
      override fun secureConnectEnd(
        call: Call,
        handshake: Handshake?,
      ) {
        logWithTime("secureConnectEnd: $handshake")
      }
    
      override fun connectEnd(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        proxy: Proxy,
      ) {
        logWithTime("connectStart: $inetSocketAddress $proxy")
    
        delegate.connectStart(call, inetSocketAddress, proxy)
      }
    
      override fun secureConnectStart(call: Call) {
        logWithTime("secureConnectStart")
    
        delegate.secureConnectStart(call)
      }
    
      override fun secureConnectEnd(
        call: Call,
        handshake: Handshake?,
      ) {
        logWithTime("secureConnectEnd: $handshake")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

        e: IOException,
      ) {
        eventListener.connectFailed(call, route.socketAddress, route.proxy, null, e)
        poolConnectionListener.connectFailed(route, call, e)
      }
    
      override fun secureConnectStart() {
        eventListener.secureConnectStart(call)
      }
    
      override fun secureConnectEnd(handshake: Handshake?) {
        eventListener.secureConnectEnd(call, handshake)
      }
    
      override fun callConnectEnd(
        route: Route,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

        // CallStart, ProxySelectStart, ProxySelectEnd, DnsStart, DnsEnd, ConnectStart, SecureConnectStart,
        // SecureConnectEnd, ConnectEnd, ConnectionAcquired, RequestHeadersStart, RequestHeadersEnd,
        // ResponseFailed, ConnectionReleased, CallFailed
        // JDK 8
        // CallStart, ProxySelectStart, ProxySelectEnd, DnsStart, DnsEnd, ConnectStart, SecureConnectStart,
        // ConnectFailed, CallFailed
        // Gradle - JDK 11
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
      ) = logEvent(ConnectStart(System.nanoTime(), call, inetSocketAddress, proxy))
    
      override fun secureConnectStart(call: Call) = logEvent(SecureConnectStart(System.nanoTime(), call))
    
      override fun secureConnectEnd(
        call: Call,
        handshake: Handshake?,
      ) = logEvent(SecureConnectEnd(System.nanoTime(), call, handshake))
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

      }
    
      data class SecureConnectStart(
        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
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        response.body.close()
        listener.removeUpToEvent<SecureConnectStart>()
        listener.removeUpToEvent<CallEvent.ConnectFailed>()
        listener.removeUpToEvent<SecureConnectStart>()
        listener.removeUpToEvent<SecureConnectEnd>()
      }
    
      @Test
      fun noSecureConnectsOnPooledConnection() {
        enableTlsWithTunnel()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  10. 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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top