Skip to main content

router

Function router 

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

Build the axum router for the HTTP transport. Exposed so tests can drive it with tower::ServiceExt::oneshot without binding a socket.