proxySelectEnd

open fun proxySelectEnd(call: Call, url: HttpUrl, proxies: List<<Error class: unknown class>>)

Invoked after proxy selection.

Note that the list of proxies is never null, but it may be a list containing only Proxy.NO_PROXY. This comes up in several situations:

  • If neither a proxy nor proxy selector is configured.

  • If the proxy is configured explicitly as Proxy.NO_PROXY.

  • If the proxy selector returns only Proxy.NO_PROXY.

  • If the proxy selector returns an empty list or null.

Otherwise it lists the proxies in the order they will be attempted.

Parameters

url

a URL with only the scheme, hostname, and port specified.