Expand description
Data-plane HTTP server: accepts client connections, matches routes, and runs the matched policy graph for each request.
Re-exports§
pub use listener::start_server;
Modules§
- listener
- Data-plane listener: the hyper accept loop and per-request handler. It
serves plain HTTP or, when
system.tlsis set, TLS-terminated HTTPS; over either transport it speaks HTTP/1.1 and (whensystem.http2.enabled) HTTP/2, negotiated per connection. For each request it matches a route, builds theContext, executes the route’sCompiledGraph, and writesContext.responseback to the client. - tls
- TLS termination and protocol (HTTP/1.1 vs HTTP/2) selection for the listeners.
- websocket
- WebSocket proxying: detect a client upgrade, open the matching upstream WebSocket handshake, and relay the two upgraded connections byte-for-byte.