How to set URLSession delegate in below code for c...
# ktor
s
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
Apart from editing the Ktor source code (or copying the Ios engine and editing it) I have not found a solution yet.