//okhttp/okhttp3/OkHttpClient/Builder/followSslRedirects
followSslRedirects¶
[jvm]\ fun followSslRedirects(followProtocolRedirects: Boolean): OkHttpClient.Builder
Configure this client to allow protocol redirects from HTTPS to HTTP and from HTTP to HTTPS. Redirects are still first restricted by followRedirects. Defaults to true.
Parameters¶
jvm
followProtocolRedirects | whether to follow redirects between HTTPS and HTTP. |