Skip to main content

action_for

Function action_for 

Source
pub fn action_for(method: &Method, path: &str) -> String
Expand description

Build the action string for a request. We split on /, drop empty segments, lowercase the method, and join with ..