KtorServletService
constructor(port: Int, servletGroup: HttpServletGroup, initKtor: Application.() -> Unit = {}, initBlock: KtorServletService.() -> Unit = {})
Parameters
port
The HTTP port for the Ktor server.
servletGroup
The HttpServletGroup containing servlets to register as routes.
initKtor
An optional Ktor Application configuration block applied before routing.
initBlock
An optional initialization block invoked after the service listener is registered.