createKtorServer

fun <TEngine, TConfiguration> createKtorServer(engine: <Error class: unknown class><TEngine, TConfiguration>, host: String = "localhost", port: Int = Random.nextInt(1024, 65535), additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: TConfiguration.() -> Unit = {}, block: <Error class: unknown class>.() -> Unit): TEngine(source)
fun <TEngine, TConfiguration> createKtorServer(engine: <Error class: unknown class><TEngine, TConfiguration>, host: String = "localhost", port: Int = Random.nextInt(1024, 65535), additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: TConfiguration.() -> Unit = {}, configurators: List<KtorApplicationConfigurator>): TEngine(source)


fun createKtorServer(host: String = "localhost", port: Int = Random.nextInt(1024, 65535), additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: <Error class: unknown class>.() -> Unit = {}, block: <Error class: unknown class>.() -> Unit): <Error class: unknown class>(source)
fun createKtorServer(host: String = "localhost", port: Int = Random.nextInt(1024, 65535), configurators: List<KtorApplicationConfigurator>, additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: <Error class: unknown class>.() -> Unit = {}): <Error class: unknown class>(source)

Create server with CIO server engine without starting of it

See also

ApplicationEngine.start