Can someone confirm my train of thoughts? accordin...
# ktor
j
Can someone confirm my train of thoughts? according to https://ktor.io/clients/http-client/engines.html#okhttp in a multiplatform environment in order to support e.g. SSL certificate pinning or ignoring SSL altogether I would use: - Android: HttpClient using OkHttp engine with its configuration options - iOS: as there's no options available write my own engine (or even better, create a pull request)
d
https://ktor.io/clients/http-client/engines.html#ios the Ios client doesn’t work for you?
j
It does and works quite nice so far. But the default iOS engine doesn't expose (or at least I didn't find it) a possibility to configure the nsurlsession. For example to do SSL certificate pinning.
d
I see. I guess it supports SSL, but if you need to configure it, maybe it is not configurable enough. So yeah, PRs are welcome 🙂
👍 1
j
d
Uhm. That’s strange. Maybe a bug?
@e5l have you found a similar issue that could help here? If not, I guess you can report to #kotlin-native