Israel Antonio Rosales Laguan
Israel Antonio Rosales Laguan
Current context examples are limited, and certain standard procedures in servers related to use context (setting certain request states like user auth or moving a value from one middleware to...
The [current doc](https://docs.rs/thruster/latest/thruster/struct.Request.html#method.body) works with a string body, and the example that would help, the [error handle](https://github.com/thruster-rs/Thruster/blob/master/thruster/examples/error_handling.rs) one, don't touch the body. Filling a form is a basic example for...
The current way to check headers is in the line of ```rust let header = context .hyper_request .as_ref() .unwrap() .request .headers() .get("Origin"); ``` Which for a commonly used section of...
The current way to read request params it's like this: https://github.com/thruster-rs/Thruster/blob/d80cf36ca3f8f40324dc5325a3c150aa5c833953/thruster/examples/mutable_state.rs#L37-L45 Which for a commonly used section of the request feels long. An easier way to read the headers (like...