HTTP method enumeration for routing
Source position: httproute.pp line 46
type TRouteMethod = ( |
||
rmUnknown, |
|
Unknown or unspecified HTTP method |
rmAll, |
|
Matches all HTTP methods |
rmGet, |
|
HTTP GET method |
rmPost, |
|
HTTP POST method |
rmPut, |
|
HTTP PUT method |
rmDelete, |
|
HTTP DELETE method |
rmOptions, |
|
HTTP OPTIONS method |
rmHead, |
|
HTTP HEAD method |
rmTrace, |
|
HTTP TRACE method |
rmPatch |
|
HTTP PATCH method |
); |
TRouteMethod defines the HTTP methods that can be matched by routes. It includes common HTTP methods like GET, POST, PUT, DELETE, and others.
|
Base HTTP route class |