Skip to main content

router

Function router 

Source
pub fn router<C>(state: AppState<C>) -> Router
where C: ComputeBackend + Clone + Send + Sync + 'static,
Expand description

Build the HTTP router for state.

/rdf4j, /waratah, and /cors_proxy are matched first, then /jupyter when the notebook service is enabled. Other GET/HEAD requests fall back to the embedded console.