Skip to main content

classify_path

Function classify_path 

Source
pub fn classify_path(path: &str) -> RateLimitTier
Expand description

Classify a request path into a rate limit tier.

Routes are matched against the actual Axum route patterns in routes/auth.rs and routes/oauth_provider.rs. Trailing slashes are normalized before matching.