Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 410 for proxies (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

      override fun candidateConnection(): RealConnection? = null
    
      override fun proxySelectStart(url: HttpUrl) {
      }
    
      override fun proxySelectEnd(
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
      }
    
      override fun dnsStart(socketHost: String) {
      }
    
      override fun dnsEnd(
        socketHost: String,
        result: List<InetAddress>,
      ) {
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. README.md

    ## Features
    
    - Fluent API for building HTTP requests (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE)
    - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts
    - Automatic in-memory or on-disk caching of request/response bodies
    - Synchronous and asynchronous (callback) execution
    - Minimal dependencies (only Apache Commons IO)
    
    ## Installation
    
    ### Maven
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        delegate.proxySelectStart(call, url)
      }
    
      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
        logWithTime("proxySelectEnd: $proxies")
    
        delegate.proxySelectEnd(call, url, proxies)
      }
    
      override fun dnsStart(
        call: Call,
        domainName: String,
      ) {
        logWithTime("dnsStart: $domainName")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = new LinkedHashSet<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

        call: Call,
        url: HttpUrl,
      ) = logEvent(ProxySelectStart(System.nanoTime(), call, url))
    
      override fun proxySelectEnd(
        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) = logEvent(ProxySelectEnd(System.nanoTime(), call, url, proxies))
    
      override fun dnsStart(
        call: Call,
        domainName: String,
      ) = logEvent(DnsStart(System.nanoTime(), call, domainName))
    
      override fun dnsEnd(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt

     * connection the client has many options:
     *
     *  * **HTTP proxy:** a proxy server may be explicitly configured for the client. Otherwise, the
     *    [proxy selector][java.net.ProxySelector] is used. It may return multiple proxies to attempt.
     *  * **IP address:** whether connecting directly to an origin server or a proxy, opening a socket
     *    requires an IP address. The DNS server may return multiple IP addresses to attempt.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionUser.kt

      fun doExtensiveHealthChecks(): Boolean
    
      fun isCanceled(): Boolean
    
      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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        }
    
        @Override public void proxySelectStart(Call call, HttpUrl url) {
          printEvent("proxySelectStart");
        }
    
        @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) {
          printEvent("proxySelectEnd");
        }
    
        @Override public void dnsStart(Call call, String domainName) {
          printEvent("dnsStart");
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

        val proxySelector = RecordingProxySelector()
        val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008)
        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress))
    
        // Define two host names for the DNS routing of fake proxy servers
        val proxyServer1 = InetAddress.getByAddress("proxyServer1", byteArrayOf(127, 0, 0, 2))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt

      protocols: List<Protocol>,
      connectionSpecs: List<ConnectionSpec>,
      /**
       * Returns this address's proxy selector. Only used if the proxy is null. If none of this
       * selector's proxies are reachable, a direct connection will be attempted.
       */
      @get:JvmName("proxySelector") val proxySelector: ProxySelector,
    ) {
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top