webServer

fun webServer(host: String = "localhost", port: Number = 8080, dsl: WebServerDsl.() -> Unit): WebServerDsl

Configures a web server.

Parameters

host

the host to bind to

port

the port to bind to