Skip to main content

request_shutdown

Function request_shutdown 

Source
pub fn request_shutdown()
Expand description

Shut the server down gracefully, as SIGTERM does — for hosts that stop a process some other way (a Windows service’s Stop control). The accept loops of run_tls, run_plain, run_quic and run_redirect end.