Update index.md
This commit is contained in:
parent
8a50594858
commit
d92a3c371f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ app.listen(3000);
|
||||||
|
|
||||||
The following example responds with "Hello World", however first the request flows through
|
The following example responds with "Hello World", however first the request flows through
|
||||||
the `x-response-time` and `logging` middleware to mark when the request started, then continue
|
the `x-response-time` and `logging` middleware to mark when the request started, then continue
|
||||||
to yield control through the to the response middleware. When a middleware invokes `yield next`
|
to yield control through the response middleware. When a middleware invokes `yield next`
|
||||||
the function suspends and passes control to the next middleware defined. After there are no more
|
the function suspends and passes control to the next middleware defined. After there are no more
|
||||||
middleware to execute downstream, the stack will unwind and each middleware is resumed to perform
|
middleware to execute downstream, the stack will unwind and each middleware is resumed to perform
|
||||||
its upstream behaviour.
|
its upstream behaviour.
|
||||||
|
|
Loading…
Reference in a new issue