On this page:
top
up

2.7Filtering Requests by MethodπŸ”— i

package: web-server-lib
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 methodinner)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 .

top
up

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /