Launching the server with embeddedServer

Report a typo

You want to initialize your application with the embeddedServer function. How can you do it?

Reorder lines using drag or arrows. Adjust indentation with left buttons
                }
              
                }.start(wait = true)
              
                embeddedServer(Netty, port = 8080, host = "0.0.0.0") {
              
                }
              
                routing {
              
                get("/") {
              
                }
              
                call.respondText("Hello World!")
              
                fun main() {
              
___

Create a free account to access the full topic