THTTPRoute.Matches function
Checks if route matches pattern and method
Declaration
function Matches(const APattern: string; AMethod: TRouteMethod;
Options: TRouteOptions): BooleanArguments
APattern | URL pattern to match against |
AMethod | HTTP method to match against |
Options | Route matching options to apply |
Function result
True if route matches the criteriaDescription
Matches determines whether this route matches the specified URL pattern and HTTP method.
It combines pattern and method matching to determine route eligibility.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
