//okhttp/okhttp3/OkHttpClient/Builder/proxy
proxy¶
[jvm]\ fun proxy(proxy: Proxy?): OkHttpClient.Builder
Sets the HTTP proxy that will be used by connections created by this client. This takes precedence over proxySelector, which is only honored when this proxy is null (which it is by default). To disable proxy use completely, call proxy(Proxy.NO_PROXY)
.