Skip to main content

majordomus_cli/http/
mod.rs

1//! The HTTP projection: the surfaces this repository exposes, resolved once and served.
2//!
3//! `surfaces` narrows the resolved web topology to what this process can answer and binds a
4//! handler to each; `router` asks it who owns a path and dispatches, knowing the registry
5//! and nothing about sockets; `server` knows sockets and nothing about capabilities. The
6//! OpenAPI document is derived from the same registry at request time, and the Swagger UI
7//! shell loads it.
8
9pub mod deadline;
10pub mod events;
11pub mod mcp;
12pub mod openapi;
13pub mod router;
14pub mod server;
15pub(crate) mod surfaces;
16pub mod swagger;
17pub mod ws;
18
19pub use router::{Body, Request, Response, Router};
20pub use surfaces::Served;