express学习笔记--router
文章目录
route.js
Route.prototype._handles_method: 判断Route是否能处理一个方法
Route.prototype._options: 支持的http方法
Route.prototype.dispatch: 执行next,next本质就是layer一层层的执行
Route.prototype.all 添加layer到中间件到stack
Route.prototype._handles_method: 判断Route是否能处理一个方法
Route.prototype._options: 支持的http方法
Route.prototype.dispatch: 执行next,next本质就是layer一层层的执行
Route.prototype.all 添加layer到中间件到stack
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论