Application
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.
Properties
Convenience property to access log from application
Returns first instance of a plugin that implements MDCProvider or default implementation with an empty context
Pipeline for receiving content
Gets the root of the routing block.
Pipeline for sending content
Functions
Called by ApplicationEngine when Application is terminated.
Creates an embedded server with the given factory, listening on given connectors.
Convenience function for accessing properties using serialization.
Installs a RoutingRoot plugin for the this Application and runs a configuration script on it. You can learn more about routing in Ktor from Routing.