Thruster icon indicating copy to clipboard operation
Thruster copied to clipboard

A fast, middleware based, web framework written in Rust

Results 8 Thruster issues
Sort by recently updated
recently updated
newest added

Hey, Here's a small collection of alias ideas that I find to be fitting. Ordered from best to worst, IMO. [use_sub_app](https://docs.rs/thruster/1.1.14/thruster/struct.App.html#method.use_sub_app) - `nest` - `app` - `sub` [use_middleware](https://docs.rs/thruster/1.1.14/thruster/struct.App.html#method.use_middleware) - `middleware`...

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...

Hi, so I wanted to try writing a couple middlewares for thruster, but I am hitting a road block where some custom config is needed for the middleware. For example,...

Hi, how do I read the headers and the cookies from the response? I am testing a middleware that needs cookies like this: ```rust let response = Testable::get( &app, "/",...