Skip to main content

est_router

Function est_router 

Source
pub fn est_router() -> Router<Arc<AppState>>
Expand description

Build the EST sub-router with all RFC 7030 operation endpoints.

Each endpoint enforces its own authentication policy via the crate::auth::EstAuth or crate::auth::OptionalAuth extractor.

Content-type enforcement is applied as middleware to all POST routes.