Unit 'HTTPRoute' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

THTTPRoute.MatchMethod

Checks if route matches HTTP method

Declaration

Source position: httproute.pp line 66

public function THTTPRoute.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.


Documentation generated on: Jan 27 2026