Expand description
Broker HTTP server scaffold (slice 7 of #488).
Tiny single-threaded HTTP/1.1 server using only std::net::TcpListener
— no hyper/axum dep yet, just enough to bind a port, accept a request,
and respond with a placeholder page that lists the currently-registered
backends from super::http_endpoint_registry::HttpEndpointRegistry.
Honors the resolved bind state from
super::broker_http_port::BrokerHttpPort::resolve: the port is one of
Static, Dynamic, or StaticOrFallback; the address comes from the
env override or defaults to 127.0.0.1.
The aggregator iframe page lands in slice 8. This slice produces only a plain-text list so consumers can verify the server is reachable and the registry is wired correctly.
Structs§
- Broker
Http Server - A bound but not-yet-serving HTTP listener. Caller decides whether to
drive
serve_oncein a blocking thread, behind tokio, etc.
Enums§
- Broker
Http Server Error - Errors raised by
BrokerHttpServer::bind.