ShutDownUrl
class ShutDownUrl
Shutdown URL feature. It stops application when requested particular url
Types
object ApplicationCallFeature : A feature to install into application call pipeline |
|
class Configuration Shutdown url configuration builder |
|
object EngineFeature : A feature to install into engine pipeline |
Constructors
ShutDownUrl(url: String, exitCode: ApplicationCall.() -> Int) Shutdown URL feature. It stops application when requested particular url |
Properties
val exitCode: ApplicationCall.() -> Int is a function to compute process exit code |
|
val url: String to handle |
Functions
suspend fun doShutdown(call: ApplicationCall): Unit Does application shutdown using the specified call |