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

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;

Arguments

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 criteria

Description

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


Documentation generated on: Jan 27 2026