Skip to main content

router

Function router 

Source
pub fn router(app: Arc<LinoApp>) -> Router
Expand description

Build the axum router that serves an application.

Every method and every path reaches the application, which does its own routing and answers a 404 or a 405 itself, with problem details and an Allow header, as the specification requires.