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 = {}, environment: <Error class: unknown class> = applicationEnvironment(), block: <Error class: unknown class>.() -> Unit): <Error class: unknown class><TEngine, TConfiguration>(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 = {}, environment: <Error class: unknown class> = applicationEnvironment(), configurators: List<KtorApplicationConfigurator>): <Error class: unknown class><TEngine, TConfiguration>(source)


fun createKtorServer(host: String = "localhost", port: Int = Random.nextInt(1024, 65535), additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: <Error class: unknown class>.() -> Unit = {}, environment: <Error class: unknown class> = applicationEnvironment(), block: <Error class: unknown class>.() -> Unit): <Error class: unknown class><<Error class: unknown class>, <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 = {}, environment: <Error class: unknown class> = applicationEnvironment()): <Error class: unknown class><<Error class: unknown class>, <Error class: unknown class>>(source)

Create server with CIO server engine without starting of it

See also

ApplicationEngine.start