Skip to content

THTTPRoute.Matches

Checks if route matches pattern and method

Declaration

Source position: httproute.pp line 64

public 
function THTTPRoute.Matches(const APattern: string; 
                           AMethod: TRouteMethod; 
                           Options: TRouteOptions) : Boolean;

Description

Matches determines whether this route matches the specified URL pattern and HTTP method. It combines pattern and method matching to determine route eligibility.