okhttp / okhttp3 / Route / proxy

proxy

fun proxy(): Proxy

Returns the Proxy of this route.

Warning: This may disagree with Address.proxy when it is null. When the address's proxy is null, the proxy selector is used.