Kotlin/Native + JVM
HTTP serving,
built in Kotlin.
Build HTTP services with a compact Kotlin routing API. Run ktServe on its own or use it with Ktor and Spring Boot WebFlux.
import codes.draeger.ktserve.*
fun main() = serve(port = 8080) {
get("/health") { text("ok") }
}GET
/health200 OKWhat are you building?
A core you can extend.
Add request validation, OpenAPI, CORS, access logs, bearer parsing, or OpenTelemetry through separate modules.
Run on Native or JVM.
See how transports share the same HTTP core and choose a deployment path for your application.