2018-07-09 21:36:03 +02:00
|
|
|
## Middleware example
|
|
|
|
|
|
|
|
```bash
|
2019-06-06 23:20:25 +02:00
|
|
|
cd middleware
|
2018-07-09 21:36:03 +02:00
|
|
|
cargo run
|
|
|
|
# Started http server: 127.0.0.1:8080
|
|
|
|
```
|
|
|
|
|
|
|
|
Look in `src/main.rs` and comment the different middlewares in/out to see how
|
|
|
|
they function.
|
|
|
|
|