Web Server: PLT HTTP Server

1`` | Running the Web Server
2`` | Scheme Servlets
3`` | Web Language Servlets
4`` | Configuration
5`` | Dispatchers
6`` | Web Config Unit
7`` | Web Server Unit
8`` | Continuation Managers
9`` | Internal
10`` | Troubleshooting
11`` | Acknowledgements
| Index

On this page:

make

Version: 4.0.2
contents index
← prev up next →

#### 5.6`` Filtering Requests

(require web-server/dispatchers/dispatch-filter)

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.

contents index
← prev up next →