pub fn handler_name(route: &str) -> String
The site-scoped function name for an HTTP route handler — a slug of the route (/api/hello → api-hello, / → root).
/api/hello
api-hello
/
root