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
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


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>
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>

Create server with CIO server engine without starting of it

See also

ApplicationEngine.start