Skip to main content

Module server

Module server 

Source
Expand description

Axum HTTP server for the broker.

Defines the router and endpoint handlers for /publish, /messages/:agent_id, and /status. All handlers follow the lock discipline documented in super — no RwLock guard is held across an .await boundary.

Functions§

router
Builds the axum Router with all broker endpoints.