Sign in Join
FPDoc Onlineexperiment

TRouteMethod enumeration

In unit HTTPRoute

HTTP method enumeration for routing

Declaration

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

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

Values

rmUnknownUnknown or unspecified HTTP method
rmAllMatches all HTTP methods
rmGetHTTP GET method
rmPostHTTP POST method
rmPutHTTP PUT method
rmDeleteHTTP DELETE method
rmOptionsHTTP OPTIONS method
rmHeadHTTP HEAD method
rmTraceHTTP TRACE method
rmPatchHTTP PATCH method

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.