You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***Service**: A type implementing the [`Service`][__link4] trait that transforms inputs into outputs
63
63
asynchronously. Think of it as `async fn(&self, In) -> Out`.
64
64
***Middleware**: A service that wraps another service to add cross-cutting behavior such as
65
-
logging, timeouts, or retries. Middleware receives requests before the inner service and can
66
-
process responses after.
65
+
logging, timeouts, or retries. Middleware receives inputs before the inner service and can
66
+
process outputs after.
67
67
***Layer**: A type implementing the [`Layer`][__link5] trait that constructs middleware around a
68
68
service. Layers are composable and can be stacked using tuples like `(layer1, layer2, service)`.
69
69
@@ -126,17 +126,17 @@ This ensures compatibility with multi-threaded async runtimes like Tokio.
126
126
This crate was developed as part of <ahref="../..">The Oxidizer Project</a>. Browse this crate's <ahref="https://github.com/microsoft/oxidizer/tree/main/crates/layered">source code</a>.
0 commit comments