THTTPRouter.FindHTTPRoute¶
Finds a route matching path and method
Declaration¶
Source position: httproute.pp line 270
public
function THTTPRouter.FindHTTPRoute(const Path: string;
AMethod: TRouteMethod;
Params: TStrings;
out MethodMismatch: Boolean)
: THTTPRoute;
Description¶
FindHTTPRoute searches for a route that matches the specified path and HTTP method. It extracts parameters and provides information about method mismatches.