If you want to include ktor without routing, simil...
# ktor
o
If you want to include ktor without routing, similar to what you have for Akka:
Copy code
fun main(args: Array<String>) {
  val hostConfig = applicationHostConfig {
    connector {
      this.port = 8080
      this.host = "0.0.0.0"
    }
  }
  val environment = applicationEnvironment {}
  val server = embeddedJettyServer(hostConfig, environment, Application(environment, Unit).apply {
    intercept(ApplicationCallPipeline.Call) {
      if (call.request.path() == "/")
        call.respondText(ContentType.Text.Plain, "Hello, world!")
    }
  })
  server.start(true)
}
For me numbers are the same.