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

THTTPRoute.MatchPattern

Matches URL pattern against request path

Declaration

Source position: httproute.pp line 65

public function THTTPRoute.MatchPattern(

  const Path: string;

  L: TStrings;

  Options: TRouteOptions

):Boolean;

Arguments

Path

  

Request path to match

L

  

String list to store extracted parameters

Options

  

Matching options to apply

Function result

True if pattern matches the path

Description

MatchPattern performs pattern matching between the route's URL pattern and an incoming request path. It supports parameterized routes and extracts path parameters.


Documentation generated on: Jan 27 2026