let me ask in a different way. is there a simple s...
# kotlin-native
t
let me ask in a different way. is there a simple sample of something making a network call in Kotlin Native? i would assume this would be done from commonMain
r
If you're just interested in native you could look at the curl sample, which consumes the libcurl sample. https://github.com/JetBrains/kotlin-native/tree/master/samples/curl If you're doing multiplatform and want to make web calls from common, Ktor is your best bet, though that's limited to iOS on the native side.
m
Ktor have actively developed branch using libcurl as backend: https://github.com/ktorio/ktor/commits/e5l/curl
👍 2