Skip to main content

routes

Function routes 

Source
pub(super) fn routes(
    state: &RuntimeState,
    listener_address: SocketAddr,
) -> Router<RuntimeState>
Expand description

Stats, metrics and diagnostics with listener-bound operator authorization.

Stats and metrics reject unsupported methods before authorization. Diagnostics authorizes every request to a registered path, including unsupported methods. Unregistered paths retain the router’s not-found response.