okhttp / okhttp3 / OkHttpClient / Builder / followRedirects

followRedirects

fun followRedirects(followRedirects: Boolean): OkHttpClient.Builder

Configure this client to follow redirects. If unset, redirects will be followed.