Join Slack
Powered by
Hi, just a quick check to understand ktor… for Kto...
# ktor
e
elye
06/17/2021, 2:49 PM
Hi, just a quick check to understand ktor… for Ktor, when we use for Android, underlying it is using OkHttp. For iOS, what is it using? Alamofire? Thanks 🙏
👇 1
🚫 1
t
tylerwilson
06/17/2021, 4:15 PM
It is using NSURLSession.
https://github.com/ktorio/ktor/blob/main/ktor-client/ktor-client-ios/darwin/src/io/ktor/client/engine/ios/IosClientEngine.kt
a
Aleksei Tirman [JB]
06/17/2021, 5:36 PM
The
Android
engine uses
HttpURLConnection
for its implementation
☝️ 1
👌 1
e
elye
06/18/2021, 3:21 PM
Thanks
@Aleksei Tirman [JB]
@tylerwilson
🙏 . I thought there was only
https://github.com/ktorio/ktor/tree/main/ktor-client/ktor-client-okhttp
, but looks like there’s Android specific too.
https://github.com/ktorio/ktor/tree/main/ktor-client/ktor-client-android
2
Views
Open in Slack
Previous
Next