Module warp::filters::method::v2

source ·
Expand description

HTTP Method Filters

These filters deal with the HTTP Method part of a request. They match the request Method, and if not matched, will reject the request with a 405 Method Not Allowed.

Functions

Create a Filter that requires the request method to be DELETE.
Create a Filter that requires the request method to be GET.
Create a Filter that requires the request method to be HEAD.
Create a Filter that requires the request method to be OPTIONS.
Create a Filter that requires the request method to be PATCH.
Create a Filter that requires the request method to be POST.
Create a Filter that requires the request method to be PUT.