Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for ConnectStart (0.14 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

            if (connectionType != H2) {
              addAll(listOf("ConnectStart", "ConnectEnd"))
            }
            addAll(listOf("ConnectionAcquired", "ConnectionReleased", "CallEnd"))
          }
    
        assertThat(events2).isEqualTo(expectedEvents2)
      }
    
      private fun isConnectionEvent(it: CallEvent?) =
        it is CallStart ||
          it is CallEnd ||
          it is ConnectStart ||
          it is ConnectEnd ||
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

        val inetAddressList: List<InetAddress>,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean = event is DnsStart && call == event.call && domainName == event.domainName
      }
    
      data class ConnectStart(
        override val timestampNs: Long,
        override val call: Call,
        val inetSocketAddress: InetSocketAddress,
        val proxy: Proxy?,
      ) : CallEvent()
    
      data class ConnectEnd(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        logWithTime("dnsEnd: $inetAddressList")
    
        delegate.dnsEnd(call, domainName, inetAddressList)
      }
    
      override fun connectStart(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
      ) {
        logWithTime("connectStart: $inetSocketAddress $proxy")
    
        delegate.connectStart(call, inetSocketAddress, proxy)
      }
    
      override fun secureConnectStart(call: Call) {
        logWithTime("secureConnectStart")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

        domainName: String,
        inetAddressList: List<InetAddress>,
      ) = logEvent(DnsEnd(System.nanoTime(), call, domainName, inetAddressList))
    
      override fun connectStart(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
      ) = logEvent(ConnectStart(System.nanoTime(), call, inetSocketAddress, proxy))
    
      override fun secureConnectStart(call: Call) = logEvent(SecureConnectStart(System.nanoTime(), call))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

        // JDK 14
        // 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) {
          printEvent("dnsEnd");
        }
    
        @Override public void connectStart(
            Call call, InetSocketAddress inetSocketAddress, Proxy proxy) {
          printEvent("connectStart");
        }
    
        @Override public void secureConnectStart(Call call) {
          printEvent("secureConnectStart");
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  7. docs/features/events.md

    0001 0.000 callStart
    0002 https://www.nytimes.com/
    0002 0.000 callStart
    0002 0.010 dnsStart
    0001 0.013 dnsStart
    0001 0.022 dnsEnd
    0002 0.019 dnsEnd
    0001 0.028 connectStart
    0002 0.025 connectStart
    0002 0.072 secureConnectStart
    0001 0.075 secureConnectStart
    0001 0.386 secureConnectEnd
    0002 0.390 secureConnectEnd
    0002 0.400 connectEnd
    0001 0.403 connectEnd
    0002 0.401 connectionAcquired
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/DuplexTest.kt

    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     * Events are typically nested with this structure:
     *
     *  * call ([callStart], [callEnd], [callFailed])
     *    * proxy selection ([proxySelectStart], [proxySelectEnd])
     *    * dns ([dnsStart], [dnsEnd])
     *    * connect ([connectStart], [connectEnd], [connectFailed])
     *      * secure connect ([secureConnectStart], [secureConnectEnd])
     *    * connection held ([connectionAcquired], [connectionReleased])
     *      * request ([requestFailed])
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

     */
    interface ConnectionUser {
      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(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top