Http module

stop

procedure · 1 overloadSource

Starts the graceful shutdown: no new connections, idle ones close, requests in progress finish (up to config.shutdown_timeout, then the connections are cut). Returns at once; wait returns when it is done.

stop :: (server: *Server)

Starts the graceful shutdown: no new connections, idle ones close, requests in progress finish (up to config.shutdown_timeout, then the connections are cut). Returns at once; wait returns when it is done.

Parameters

server: *Server

See also