ShutDownUrl

class ShutDownUrl(url: String, exitCode: ApplicationCall.() -> Int)

Shutdown URL feature. It stops application when requested particular url

Constructors

Link copied to clipboard
fun ShutDownUrl(url: String, exitCode: ApplicationCall.() -> Int)

Types

Link copied to clipboard

A feature to install into application call pipeline

Link copied to clipboard
class Configuration

Shutdown url configuration builder

Link copied to clipboard

A feature to install into engine pipeline

Functions

Link copied to clipboard
suspend fun doShutdown(call: ApplicationCall)

Does application shutdown using the specified call

Properties

Link copied to clipboard
val exitCode: ApplicationCall.() -> Int

is a function to compute process exit code

Link copied to clipboard
val url: String

to handle