1 unstable release

0.1.0 Jul 9, 2019

#17 in #modifier

Download history 1/week @ 2024-11-13 10/week @ 2024-11-20 10/week @ 2024-11-27 19/week @ 2024-12-04 33/week @ 2024-12-11 10/week @ 2024-12-18 14/week @ 2025-01-15 26/week @ 2025-02-05 22/week @ 2025-02-12 2/week @ 2025-02-19 13/week @ 2025-02-26

63 downloads per month
Used in 2 crates

MIT license

9KB
160 lines

Request Modifier

HTTP specific Tower middleware that runs a Fn(Request<B>) -> Request<B> modification on every request. This type's builder includes functions for common modifications, like setting request origin or adding static headers.


lib.rs:

A tower::Service middleware to modify the request.

Dependencies

~1MB
~16K SLoC