On this page:

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.


(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.