Skip to main content

classify

Function classify 

Source
pub fn classify(method: HttpMethod, path: &str) -> Classified
Expand description

Classifies a method + path into an endpoint, logical index, and doc id.

The path’s query string, if any, must already be stripped by the caller.