- Connect and Express Middleware is the foundation of the program
- Middleware is a JavaScript function object, contains three parameters (the request object, the response object, next callback function)
- Connect the Dispatcher dispatcher program and a set of intermediate composition, the next action of intermediate parameters: returns control to the dispatcher.
- Use use () method of combining intermediate, use () function returns the Connect program example, chain supporting method.
Connect & Express middleware framework
Guess you like
Origin www.cnblogs.com/eslovez/p/12015384.html
Recommended
Ranking