EmbeddedServer

expect constructor(applicationProperties: ApplicationProperties, engineFactory: ApplicationEngineFactory<TEngine, TConfiguration>, engineConfigBlock: TConfiguration.() -> Unit = {})

Parameters

TEngine

The type of the application engine used by the server.

TConfiguration

The type of the configuration used by the engine.

actual constructor(applicationProperties: ApplicationProperties, engineFactory: ApplicationEngineFactory<TEngine, TConfiguration>, engineConfigBlock: TConfiguration.() -> Unit)
actual constructor(applicationProperties: ApplicationProperties, engineFactory: ApplicationEngineFactory<TEngine, TConfiguration>, engineConfigBlock: TConfiguration.() -> Unit)