This page has no explaining text. I've found this snippet let ref query = req.extensions.get::<Router>().unwrap().find("query").unwrap_or("/"); that's probably enough for me to implement what I want and I think it uses this. I think I'm starting to understand it but without the example I wouldn't stand a chance.
This page has no explaining text. I've found this snippet
let ref query = req.extensions.get::<Router>().unwrap().find("query").unwrap_or("/");
that's probably enough for me to implement what I want and I think it uses this. I think I'm starting to understand it but without the example I wouldn't stand a chance.