Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for selectProxies (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

          postponedRoutes.clear()
        }
    
        return Selection(routes)
      }
    
      /** Prepares the proxy servers to try. */
      private fun resetNextProxy(
        url: HttpUrl,
        proxy: Proxy?,
      ) {
        fun selectProxies(): List<Proxy> {
          // If the user specifies a proxy, try that and only that.
          if (proxy != null) return listOf(proxy)
    
          // If the URI lacks a host (as in "http://</"), don't call the ProxySelector.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top