mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 14:46:32 +01:00
Update middleware.md (#2967)
This commit is contained in:
parent
a7b7d56cfb
commit
8d7eada034
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ You should use these when
|
|||
|
||||
## `tower::Service` and `Pin<Box<dyn Future>>`
|
||||
|
||||
For maximum control (and a more low level API) you can write you own middleware
|
||||
For maximum control (and a more low level API) you can write your own middleware
|
||||
by implementing [`tower::Service`]:
|
||||
|
||||
Use [`tower::Service`] with `Pin<Box<dyn Future>>` to write your middleware when:
|
||||
|
|
Loading…
Reference in a new issue