Skip to main content

Module server

Module server 

Source
Expand description

HTTP server lifecycle.

Functionsยง

serve
Binds to host:port and serves router until Ctrl+C or SIGTERM is received.
shutdown_signal
Resolves when the process receives Ctrl+C, or SIGTERM on Unix.