On this page:
make

2.7 Filtering Requests by Method🔗ℹ

The web-server/dispatchers/dispatch-method module defines a dispatcher constructor that calls an underlying dispatcher provided the request method belongs to a given list.

procedure

(make method inner)  dispatcher/c

  method : (or/c symbol? (listof symbol?))
  inner : dispatcher/c
Calls inner if the method of the request, converted to a string, case-insensitively matches method (if method is a symbol, or, if a list, one of the elements of method). Otherwise, calls next-dispatcher.