Expand description
Core HTTP server runtime.
Use this module when you need a static-first HTTP server with predictable request parsing, policy-aware response generation, and portable runtime behavior across macOS, Linux, and WSL.
The primary entrypoints are Server and ServerBuilder.
Structsยง
- Connection
Guard - RAII guard for connection pool resources
- Connection
Pool - Holds the connection pool state for managing database or external connections
- Server
- Serves static HTTP content with configurable runtime policies.
- Server
Builder - Builds a
Serverwith optional policy and timeout configuration. - Shutdown
Signal - Holds shutdown state and coordination for graceful server termination
- Thread
Pool - A simple thread pool for handling concurrent connections efficiently