ShutDownUrl
class ShutDownUrl(val url: String, val exitCode: <Error class: unknown class>.() -> 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
object EnginePlugin
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
Functions
Link copied to clipboard
Shuts down an application using the specified call.