Make Request<Body> an extractor

This commit is contained in:
David Pedersen
2021-06-09 09:42:06 +02:00
parent 90c3e5ba74
commit c91dc7ce29
10 changed files with 268 additions and 200 deletions
+1 -1
View File
@@ -63,7 +63,7 @@
//! # let some_backpressure_sensitive_middleware =
//! # tower::layer::util::Identity::new();
//!
//! async fn handler(request: Request<Body>) { /* ... */ }
//! async fn handler() { /* ... */ }
//!
//! let app = route("/", get(handler));
//!