On this page:
make
Version: 4.1

5.10 Virtual Hosts

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

The web-server/dispatchers/dispatch-host module defines a dispatcher constructor that calls a different dispatcher based upon the host requested.

(make lookup-dispatcher)  dispatcher?

  lookup-dispatcher : (symbol? . -> . dispatcher?)

Extracts a host from the URL requested, or the Host HTTP header, calls lookup-dispatcher with the host, and invokes the returned dispatcher. If no host can be extracted, then 'none is used.