mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-27 15:00:31 +01:00
Update middleware.md (#2967)
This commit is contained in:
parent
5512b5b91f
commit
19b99ea917
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