server-stop!
function
org.httpkit.server/server-stop!
(server-stop! [http-server] [http-server opts])Signals given `HttpServer` to stop.
If already stopping: returns nil.
If not already stopping: returns a Promise that will be delivered once
server thread actually completes.
Options:
:timeout ; Max msecs to allow existing requests to complete before attempting
; interrupt (default 100).
Examples
No examples yet. Be the first to add one!