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

THTTPRouter.FindDefaultRoute

Finds the default route for a method

Declaration

Source position: httproute.pp line 233

public function THTTPRouter.FindDefaultRoute(

  AMethod: TRouteMethod

):THTTPRoute;

Arguments

AMethod

  

HTTP method to find default route for

Function result

Default route for the method or nil

Description

FindDefaultRoute searches for the default route that handles the specified HTTP method. It returns the first route marked as default for the given method.


Documentation generated on: Jan 27 2026