Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for DnsStart (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

              .build(),
          )
        val response = call.execute()
        assertThat(response.code).isEqualTo(200)
        response.body.close()
        val dnsStart: DnsStart = eventRecorder.removeUpToEvent<DnsStart>()
        assertThat(dnsStart.call).isSameAs(call)
        assertThat(dnsStart.domainName).isEqualTo(server.hostName)
        val dnsEnd: DnsEnd = eventRecorder.removeUpToEvent<DnsEnd>()
        assertThat(dnsEnd.call).isSameAs(call)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt

    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
    import okhttp3.CallEvent.ProxySelectEnd
    import okhttp3.CallEvent.ProxySelectStart
    import okhttp3.CallEvent.RequestBodyEnd
    import okhttp3.CallEvent.RequestBodyStart
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}"""))
          .assertLogMatch(Regex("""proxySelectStart: $url"""))
          .assertLogMatch(Regex("""proxySelectEnd: \[DIRECT]"""))
          .assertLogMatch(Regex("""dnsStart: ${url.host}"""))
          .assertLogMatch(Regex("""dnsEnd: \[.+]"""))
          .assertLogMatch(Regex("""connectStart: ${url.host}/.+ DIRECT"""))
          .assertLogMatch(Regex("""connectEnd: http/1.1"""))
          .assertLogMatch(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) = onEvent(ProxySelectEnd(System.nanoTime(), call, url, proxies))
    
      override fun dnsStart(
        call: Call,
        domainName: String,
      ) = onEvent(DnsStart(System.nanoTime(), call, domainName))
    
      override fun dnsEnd(
        call: Call,
        domainName: String,
        inetAddressList: List<InetAddress>,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
        logWithTime("proxySelectEnd: $proxies")
      }
    
      override fun dnsStart(
        call: Call,
        domainName: String,
      ) {
        logWithTime("dnsStart: $domainName")
      }
    
      override fun dnsEnd(
        call: Call,
        domainName: String,
        inetAddressList: List<InetAddress>,
      ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

     * `dnsStart(call, domainName)` → `dnsEnd(call, domainName, inetAddressList)`.
     *
     * Events are typically nested with this structure:
     *
     *  * call ([callStart], [callEnd], [callFailed])
     *    * dispatcher queue ([dispatcherQueueStart], [dispatcherQueueEnd])
     *    * proxy selection ([proxySelectStart], [proxySelectEnd])
     *    * dns ([dnsStart], [dnsEnd])
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

        val url: HttpUrl,
        val proxies: List<Proxy>?,
      ) : CallEvent() {
        override fun closes(event: CallEvent): Boolean = event is ProxySelectStart && call == event.call && url == event.url
      }
    
      data class DnsStart(
        override val timestampNs: Long,
        override val call: Call,
        val domainName: String,
      ) : CallEvent()
    
      data class DnsEnd(
        override val timestampNs: Long,
        override val call: Call,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Oct 06 13:40:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. okhttp-logging-interceptor/api/logging-interceptor.api

    	public fun dispatcherQueueEnd (Lokhttp3/Call;Lokhttp3/Dispatcher;)V
    	public fun dispatcherQueueStart (Lokhttp3/Call;Lokhttp3/Dispatcher;)V
    	public fun dnsEnd (Lokhttp3/Call;Ljava/lang/String;Ljava/util/List;)V
    	public fun dnsStart (Lokhttp3/Call;Ljava/lang/String;)V
    	public fun proxySelectEnd (Lokhttp3/Call;Lokhttp3/HttpUrl;Ljava/util/List;)V
    	public fun proxySelectStart (Lokhttp3/Call;Lokhttp3/HttpUrl;)V
    	public fun requestBodyEnd (Lokhttp3/Call;J)V
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 15:15:46 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

        } else {
          val addresses =
            if (socketHost.canParseAsIpAddress()) {
              listOf(InetAddress.getByName(socketHost))
            } else {
              call.eventListener.dnsStart(call, socketHost)
    
              val result = address.dns.lookup(socketHost)
              if (result.isEmpty()) {
                throw UnknownHostException("${address.dns} returned no addresses for $socketHost")
              }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  10. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    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
    import okhttp3.CallEvent.ProxySelectEnd
    import okhttp3.CallEvent.ProxySelectStart
    import okhttp3.CallEvent.RequestHeadersEnd
    import okhttp3.CallEvent.RequestHeadersStart
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 29.9K bytes
    - Click Count (0)
Back to Top