node.js是否就是函数重载+next()?
PHP中文网
PHP中文网 2017-04-17 11:09:29
0
1
622

在node.js中,中间件是否等于将所有的同名方法先重在,如果能够处理就处理,不能处理就next()

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
巴扎黑

Middleware will be executed on every request. The middleware itself can judge and perform special processing on only some requests.

Whether next is called depends on whether the middleware wants this request to stop and no longer execute other middleware.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template