create
  fun <TEngine, TConfiguration> createKtorServer(    engine: <ERROR CLASS><TEngine, TConfiguration>,     host: String = "localhost",     port: Int = Random.nextInt(1024, 65535),     additionalEngineEnvironmentConfigurator: <ERROR CLASS>.() -> Unit = {},     additionalConfigurationConfigurator: TConfiguration.() -> Unit = {},     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),     additionalEngineEnvironmentConfigurator: <ERROR CLASS>.() -> Unit = {},     additionalConfigurationConfigurator: TConfiguration.() -> Unit = {},     configurators: List<KtorApplicationConfigurator>): TEngine
Content copied to clipboard
fun createKtorServer(    host: String = "localhost",     port: Int = Random.nextInt(1024, 65535),     additionalEngineEnvironmentConfigurator: <ERROR CLASS>.() -> Unit = {},     additionalConfigurationConfigurator: <ERROR CLASS>.() -> Unit = {},     block: <ERROR CLASS>.() -> Unit): <ERROR CLASS>
Content copied to clipboard
fun createKtorServer(    host: String = "localhost",     port: Int = Random.nextInt(1024, 65535),     configurators: List<KtorApplicationConfigurator>,     additionalEngineEnvironmentConfigurator: <ERROR CLASS>.() -> Unit = {},     additionalConfigurationConfigurator: <ERROR CLASS>.() -> Unit = {}): <ERROR CLASS>
Content copied to clipboard
Create server with CIO server engine without starting of it
See also
Application