Before we have multiplatform IO/socket abstraction and Ktor is JVM only, the simplest way to do that is just use some C http server library for native and probably write some idiomatic Kotlin wrapper for this library.
n
Nail Gilaziev
04/17/2018, 5:10 PM
Multiplatform IO is the most awesome feature that I want ;) I wait it. Do you know some insider info when it will be released?
g
gildor
04/17/2018, 5:31 PM
Nope, but Ktor contains some components that intended to be multiplatform http client and server, but even those modules still JVM only and currently experimental.