Skip to main content

well_known_router

Function well_known_router 

Source
pub fn well_known_router(state: Arc<NodeState>) -> Router
Expand description

Returns an axum Router serving GET /.well-known/scp.

The handler dynamically generates the .well-known/scp JSON document from the provided NodeState. See spec section 18.3.