Sign in Join
FPDoc Onlineexperiment

THTTPRoute.MatchMethod function

Member of THTTPRoutepublicIn unit HTTPRoute

Checks if route matches HTTP method

Declaration

pascal
function MatchMethod(const AMethod: TRouteMethod): Boolean

Arguments

AMethod

HTTP method to check

Function result

True if method matches

Description

MatchMethod determines whether this route handles the specified HTTP method. It compares the route's method against the request method.

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