Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for dnsEnd (0.05 sec)

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

      }
    
      override fun dnsStart(
        call: Call,
        domainName: String,
      ) {
        logWithTime("dnsStart: $domainName")
      }
    
      override fun dnsEnd(
        call: Call,
        domainName: String,
        inetAddressList: List<InetAddress>,
      ) {
        logWithTime("dnsEnd: $inetAddressList")
      }
    
      override fun connectStart(
        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. docs/features/events.md

        printEvent("callEnd");
      }
    
      @Override public void dnsStart(Call call, String domainName) {
        printEvent("dnsStart");
      }
    
      @Override public void dnsEnd(Call call, String domainName, List<InetAddress> inetAddressList) {
        printEvent("dnsEnd");
      }
    
      ...
    }
    ```
    
    We make a couple calls:
    
    ```java
    Request request = new Request.Builder()
        .url("https://publicobject.com/helloworld.txt")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      ) {
        logWithTime("dnsStart: $domainName")
    
        delegate.dnsStart(call, domainName)
      }
    
      override fun dnsEnd(
        call: Call,
        domainName: String,
        inetAddressList: List<InetAddress>,
      ) {
        logWithTime("dnsEnd: $inetAddressList")
    
        delegate.dnsEnd(call, domainName, inetAddressList)
      }
    
      override fun connectStart(
        call: Call,
        inetSocketAddress: InetSocketAddress,
    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

      override fun dnsStart(
        call: Call,
        domainName: String,
      ) = logEvent(DnsStart(System.nanoTime(), call, domainName))
    
      override fun dnsEnd(
        call: Call,
        domainName: String,
        inetAddressList: List<InetAddress>,
      ) = logEvent(DnsEnd(System.nanoTime(), call, domainName, inetAddressList))
    
      override fun connectStart(
        call: Call,
        inetSocketAddress: InetSocketAddress,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        }
    
        @Override public void dnsStart(Call call, String domainName) {
          printEvent("dnsStart");
        }
    
        @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");
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

      }
    
      override fun dnsStart(socketHost: String) {
        eventListener.dnsStart(call, socketHost)
      }
    
      override fun dnsEnd(
        socketHost: String,
        result: List<InetAddress>,
      ) {
        eventListener.dnsEnd(call, socketHost, result)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

        }
    
        @Override public void dnsStart(Call call, String domainName) {
          printEvent("dnsStart");
        }
    
        @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");
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

      fun candidateConnection(): RealConnection?
    
      fun proxySelectStart(url: HttpUrl)
    
      fun proxySelectEnd(
        url: HttpUrl,
        proxies: List<Proxy>,
      )
    
      fun dnsStart(socketHost: String)
    
      fun dnsEnd(
        socketHost: String,
        result: List<InetAddress>,
      )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

      }
    
      override fun proxySelectEnd(
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
      }
    
      override fun dnsStart(socketHost: String) {
      }
    
      override fun dnsEnd(
        socketHost: String,
        result: List<InetAddress>,
      ) {
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        // Start out with standard events...
        expectedEvents += "CallStart"
        expectedEvents += "ProxySelectStart"
        expectedEvents += "ProxySelectEnd"
        expectedEvents += "DnsStart"
        expectedEvents += "DnsEnd"
        expectedEvents += "ConnectStart"
        if (https) {
          expectedEvents += "SecureConnectStart"
          expectedEvents += "SecureConnectEnd"
        }
        expectedEvents += "ConnectEnd"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top