附:Hono 多路由注册与中间件链,多个 handler 怎么工作
app.route 不是执行 handler,而是挂载;多个 app.route('/') 不会互相覆盖;中间件靠 await next() 串成链。用这个博客的真实挂载顺序讲清 5 个练习。
1 posts
app.route 不是执行 handler,而是挂载;多个 app.route('/') 不会互相覆盖;中间件靠 await next() 串成链。用这个博客的真实挂载顺序讲清 5 个练习。
Subscribe via RSS to get new posts automatically.
Technical questions, feedback and leads: use the guestbook.