Skip to main content

route_path

Function route_path 

Source
pub fn route_path(matched: Option<&MatchedPath>, uri: &Uri) -> String
Expand description

Go RequestPathMetadataKey (gin FullPath()): the matched route template in gin’s spelling (/v1beta/models/*action), or the URI path when no route matched.