How can I disable hostname verification with Ktor ...
# ktor
b
How can I disable hostname verification with Ktor CIO Client ? With Okhttp I could just do this but haven't found the solution for CIO:
Copy code
HttpClient(OkHttp) {
            engine {
                config {
                    hostnameVerifier {
                            _, _ -> true
                    }
                }
            }
        }
a
What exception do you get when a verification is failed?