Skip to content

THTTPRouter.RouteRequest

Routes an HTTP request to appropriate handler

Declaration

Source position: httproute.pp line 273

public 
procedure THTTPRouter.RouteRequest(ARequest: TRequest; 
                                  AResponse: TResponse);

Description

RouteRequest processes an incoming HTTP request by finding the appropriate route and executing its handler. It includes interceptor processing and error handling for the complete request lifecycle.