Skip to main content

Module server

Module server 

Source
Expand description

Server lifecycle: bind a listener, accept connections, and serve them until shutdown is requested.

Request routing and handling lives in crate::handler; this module is deliberately narrow — it owns the TCP accept loop and the ServerHandle lifecycle, nothing else. See docs/architecture.md for how this fits with handler, auth, error, and state.

Re-exports§

pub use crate::state::ServerHandle;

Functions§

run_server
Start the proxy server.