ktor-server-host-common / io.ktor.server.engine / BaseApplicationEngine / <init>

<init>

BaseApplicationEngine(environment: ApplicationEngineEnvironment, pipeline: EnginePipeline = defaultEnginePipeline(environment))

Base class for implementing ApplicationEngine

It creates default engine pipeline, provides application property and installs default transformations on respond and receive

Parameters

environment - instance of ApplicationEngineEnvironment for this engine

pipeline - pipeline to use with this engine