WebServerStarter

Starter of the web server.

Functions

Link copied to clipboard
fun start(options: WebServerOptions, onServerStarted: (Stoppable) -> Unit = {}, onServerReady: suspend () -> Unit = {}, wait: Boolean = false): Unit?

Starts the web server which serves the specified file and allows for live reloading.