Function ferrum_router::uri_for::uri_for
[−]
[src]
pub fn uri_for(request: &Request, route_id: &str, params: Params) -> Uri
Generate a URI based off of the currently requested URI.
The route_id
used during route registration will be used here again.
params
will be inserted as route parameters if fitting, the rest will be appended as query
parameters.