Version: 4.0.2
5.6 Filtering Requests
The web-server/dispatchers/dispatch-filter module defines a dispatcher constructor that calls an underlying dispatcher with all requests that pass a predicate.
(make regex inner) → dispatcher? |
regex : regexp? |
inner : dispatcher? |
Calls inner if the URL path of the request, converted to a string, matches regex. Otherwise, calls next-dispatcher.