create Ktor Server
fun <TEngine, TConfiguration> createKtorServer(engine: <ERROR CLASS><TEngine, TConfiguration>, host: String = "localhost", port: Int = Random.nextInt(1024, 65535), block: <ERROR CLASS>.() -> Unit): TEngine
Content copied to clipboard
fun <TEngine, TConfiguration> createKtorServer(engine: <ERROR CLASS><TEngine, TConfiguration>, host: String = "localhost", port: Int = Random.nextInt(1024, 65535), configurators: List<KtorApplicationConfigurator>): TEngine
Content copied to clipboard
fun createKtorServer(host: String = "localhost", port: Int = Random.nextInt(1024, 65535), block: <ERROR CLASS>.() -> Unit): <ERROR CLASS>
Content copied to clipboard
fun createKtorServer(host: String = "localhost", port: Int = Random.nextInt(1024, 65535), configurators: List<KtorApplicationConfigurator>): <ERROR CLASS>
Content copied to clipboard
Create server with CIO server engine without starting of it
See also
ApplicationEngine.start