fun Kweb(port: Int, debug: Boolean = true, plugins: List<KwebPlugin> = Collections.emptyList(), httpsConfig: EngineSSLConnectorConfig? = null, kwebConfig: KwebConfiguration = KwebDefaultConfiguration(), buildPage: WebBrowser.() -> Unit)(source)

The core kwebserver, and the starting point for almost any Kweb app. This will create a HTTP server and respond with a javascript page which will establish a websocket connection to retrieve and send instructions and data between browser and server.