Skip to main content

router

Function router 

Source
pub fn router(state: AppState) -> Router
Expand description

Build the router.

The mount path is applied here, from config, and is never inferred from the request path.