Skip to content

THTTPRouter.FindDefaultRoute

Finds the default route for a method

Declaration

Source position: httproute.pp line 233

public 
function THTTPRouter.FindDefaultRoute(AMethod: TRouteMethod)
                                      : THTTPRoute;

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.