open fun setShutdownDelay(shutdownDelay: Int): Unit
Specify the number of seconds to wait until HTTP exchanges have completed when shutting down the HTTP server. Default is 0.
Only applicable for a locally configured HTTP server. Ignored when the "server" property has been specified.