Skip to content

THTTPRoute.MatchMethod

Checks if route matches HTTP method

Declaration

Source position: httproute.pp line 66

public 
function THTTPRoute.MatchMethod(const AMethod: TRouteMethod) : Boolean;

Description

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