Skip to main content

Module server

Module server 

Source
Expand description

Shared actix-web bootstrap. Both backends call serve from their own thin serve(cfg) entry point.

Functionsยง

serve
Bind the HTTP server, register the generic handler set against backend, and run until the process receives SIGINT or SIGTERM.
serve_with_shutdown
Like serve, but driven to a graceful stop by shutdown instead of OS signals.