Skip to content

TRouteMethod

HTTP method enumeration for routing

Declaration

Source position: httproute.pp line 46

type
  TRouteMethod = (rmUnknown,rmAll,rmGet,rmPost,rmPut,rmDelete,rmOptions,
                rmHead,rmTrace,rmPatch)

Values

Value Description
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

Description

TRouteMethod defines the HTTP methods that can be matched by routes. It includes common HTTP methods like GET, POST, PUT, DELETE, and others.

See also

Name Description
THTTPRoute Base HTTP route class