<init>

Application(environment: ApplicationEnvironment)

Represents configured and running web application, capable of handling requests. It is also the application coroutine scope that is cancelled immediately at application stop so useful for launching background coroutines.

Parameters

environment - Instance of ApplicationEnvironment describing environment this application runs in