thruster-rs / Thruster

A fast, middleware based, web framework written in Rust
MIT License
1.07k stars 47 forks source link

feat: Add request with params trait #216

Closed trezm closed 2 years ago

trezm commented 2 years ago

In order to utilize match_and_resolve, which is helpful for limiting lifetimes, we need to have a better way to get and set params on the request. This adds a required trait to use the method, which will potentially break some implementations.