mirror of
https://github.com/actix/examples
synced 2024-11-30 17:14:35 +01:00
817c7e1150
Co-authored-by: Rob Ede <robjtede@icloud.com>
644 B
644 B
middleware examples
This example showcases a middleware that adds and retreives request-local data. See also the Middleware guide.
Usage
cd basics/middleware-ext-mut
cargo run
# Started http server: 127.0.0.1:8080
Look in src/add_msg.rs
to see how it works.