add Router.all() method
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Similar to app.all() but specifically for attaching handlers to all methods under a standalone router. This is useful for isolating routers that require "middleware" like features for all routes managed by the router.
authored by Roman Shtylman · committed by Roman Shtylman · parent 89e7264 · Browse files · 2 files+27 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+27 added−0 removed
- tests:+18 added−0 removed
- other:+9 added−0 removed