NativeApplicationEngineEnvironment

class NativeApplicationEngineEnvironment(val log: Logger, val config: ApplicationConfig, val connectors: MutableList<EngineConnectorConfig>, modules: MutableList<Application.() -> Unit>, val parentCoroutineContext: CoroutineContext, val rootPath: String, val developmentMode: Boolean) : ApplicationEngineEnvironment

Constructors

Link copied to clipboard
fun NativeApplicationEngineEnvironment(log: Logger, config: ApplicationConfig, connectors: MutableList<EngineConnectorConfig>, modules: MutableList<Application.() -> Unit>, parentCoroutineContext: CoroutineContext, rootPath: String, developmentMode: Boolean)

Functions

Link copied to clipboard
open override fun start()

Starts ApplicationEngineEnvironment and creates an application.

Link copied to clipboard
open override fun stop()

Stops ApplicationEngineEnvironment and destroys any running application.

Properties

Link copied to clipboard
open override val application: Application

Running Application.

Link copied to clipboard
open override val config: ApplicationConfig
Link copied to clipboard

Connectors that describers where and how server should listen.

Link copied to clipboard
open override val developmentMode: Boolean
Link copied to clipboard
open override val log: Logger
Link copied to clipboard
open override val monitor: Events
Link copied to clipboard
Link copied to clipboard
open override val rootPath: String