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)
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
Deactivated User
10/11/2018, 6:54 AM
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 🙂