[−][src]Macro wayfinder::get
Create a Resource
for an HTTP GET request.
let show_person = get!(People::Show);
Use the sigil ->
at the start to indicate a redirect-style route.
let show_person_redirect = get!(-> People::Show);
Add query parameters after the handler name.
let search = get!(Search, param!(q: String));