ShutDownUrl
class ShutDownUrl(val url: String, val exitCode: ApplicationCall.() -> Int, val exit: (Int) -> Unit = ::exitProcess)(source)
A plugin that allows you to configure a URL used to shut down the server. There are two ways to enable this plugin:
In a HOCON configuration file.
By installing the plugin. You can learn more from Shutdown URL.
Types
Link copied to clipboard
class Config
A configuration for the ShutDownUrl plugin.
Link copied to clipboard
A plugin to install into an engine pipeline.
Properties
Link copied to clipboard
the function for exiting the process; defaults to the system function exitProcess
Link copied to clipboard
is a function to compute a process exit code
Functions
Link copied to clipboard
Shuts down an application using the specified call.