https://kotlinlang.org logo
#ktor
Title
# ktor
s

Saood

02/24/2020, 1:39 PM
How to set URLSession delegate in below code for certificate validation?
Copy code
Ios.create {
    configureRequest {

    }
}
i have delegate method for certificate validation
Copy code
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void)
is Anyone tried ?
t

Thomas

02/24/2020, 2:48 PM
Apart from editing the Ktor source code (or copying the Ios engine and editing it) I have not found a solution yet.
48 Views