Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for ConnectStart (0.33 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        val expectedAddress = InetSocketAddress(address, server.port)
        val connectStart: ConnectStart =
          eventRecorder.removeUpToEvent<ConnectStart>()
        assertThat(connectStart.call).isSameAs(call)
        assertThat(connectStart.inetSocketAddress).isEqualTo(expectedAddress)
        assertThat(connectStart.proxy).isEqualTo(
          server.proxyAddress,
        )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        response.body.close()
        assertThat(listener.recordedEventTypes()).containsExactly(
          "ConnectStart",
          "ConnectFailed",
          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
          "ConnectionReleased",
        )
      }
    
      @Test
      @Throws(IOException::class)
      fun successfulHttpProxyConnect() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseStream
    import okhttp3.CallEvent.ConnectEnd
    import okhttp3.CallEvent.ConnectFailed
    import okhttp3.CallEvent.ConnectStart
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.Flaky
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

        domainName: String,
        inetAddressList: List<InetAddress>,
      ) = onEvent(DnsEnd(System.nanoTime(), call, domainName, inetAddressList))
    
      override fun connectStart(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
      ) = onEvent(ConnectStart(System.nanoTime(), call, inetSocketAddress, proxy))
    
      override fun secureConnectStart(call: Call) =
        onEvent(
          SecureConnectStart(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.CallEvent.CallEnd
    import okhttp3.CallEvent.CallStart
    import okhttp3.CallEvent.ConnectEnd
    import okhttp3.CallEvent.ConnectStart
    import okhttp3.CallEvent.ConnectionAcquired
    import okhttp3.CallEvent.ConnectionReleased
    import okhttp3.CallEvent.DnsEnd
    import okhttp3.CallEvent.DnsStart
    import okhttp3.CallEvent.FollowUpDecision
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        domainName: String,
        inetAddressList: List<InetAddress>,
      ) {
        logWithTime("dnsEnd: $inetAddressList")
      }
    
      override fun connectStart(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
      ) {
        logWithTime("connectStart: $inetSocketAddress $proxy")
      }
    
      override fun secureConnectStart(call: Call) {
        logWithTime("secureConnectStart")
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 13:40:20 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

            delegate.dnsEnd(call, domainName, inetAddressList)
          }
        }
    
        override fun connectStart(
          call: Call,
          inetSocketAddress: InetSocketAddress,
          proxy: Proxy,
        ) {
          for (delegate in eventListeners) {
            delegate.connectStart(call, inetSocketAddress, proxy)
          }
        }
    
        override fun secureConnectStart(call: Call) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top