THTTPRoute.MatchPattern function
Matches URL pattern against request path
Declaration
function MatchPattern(const Path: string; L: TStrings;
Options: TRouteOptions): BooleanArguments
Path | Request path to match |
L | String list to store extracted parameters |
Options | Matching options to apply |
Function result
True if pattern matches the pathDescription
MatchPattern performs pattern matching between the route's URL pattern and an incoming request path.
It supports parameterized routes and extracts path parameters.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
