okhttp / okhttp3 / OkHttpClient / Builder / followSslRedirects

followSslRedirects

fun followSslRedirects(followProtocolRedirects: Boolean): OkHttpClient.Builder

Configure this client to follow redirects from HTTPS to HTTP and from HTTP to HTTPS.

If unset, protocol redirects will be followed. This is different than the built-in HttpURLConnection's default.