This commit is contained in:
pkuphy 2017-08-19 01:03:54 +08:00 committed by GitHub
parent c96bd21389
commit a55efc832d

View File

@ -4,7 +4,7 @@ Middleware are functions which are executed before or after requests to the
server. They can be used to modify the *request to* or *response from* server. They can be used to modify the *request to* or *response from*
user-defined handler functions. user-defined handler functions.
Additionally, Sanic providers listeners which allow you to run code at various points of your application's lifecycle. Additionally, Sanic provides listeners which allow you to run code at various points of your application's lifecycle.
## Middleware ## Middleware