Plombir::Server::StaticServer
Lifecycle wrapper around HTTP::Server: listen binds the
port (raising PortInUse), start blocks serving, and close
stops gracefully — the CLI calls it from SIGINT/SIGTERM
traps so Ctrl+C exits crash-free.
Constructors
new(config : Config, reloader : LiveReload::Reloader | Nil = nil)
SourceInstance methods
close
Sourcelisten
Sourcestart
Source