Are there any httpclients that I can use to develo...
# kotlin-native
r
Are there any httpclients that I can use to develop in MacOs and compile to linux?
d
ktor!
👍 5
r
That's the one I was trying to figure out how to use:(, I'm developing in Mac and I want to compile to Linux, are there any examples about that? I could not find an http engine to instantiate the client
d
Curl
?
Oh wait, that may not work. Since you need binaries to do the linking.
Try the
Curl
engine and see where that goes. If that doesn't work I'm afraid you'll need to do some hacky stuff.
n
Does Ktor (via Kotlin Native) have Linux versions of Server and Client?
r
Thanks! Gonna try tomorrow
d
@napperley There aren't any for server but there is
Curl
for clients.
🙏 1