Skip to content

TCustomFPWebModule.HandleRequest

Processes an incoming HTTP request

Declaration

Source position: fpweb.pp line 146

public 
procedure TCustomFPWebModule.HandleRequest(ARequest: TRequest; 
                                          AResponse: TResponse)
                                          ;  override;

Description

Main request handling method that processes incoming HTTP requests. This method coordinates session management, action execution, template processing, and response generation.

The method calls various hooks in sequence: BeforeRequest, OnRequest, action processing, template processing, and AfterResponse.

Errors

May raise EFPWebError if the request cannot be handled.

See also

Name Description
BeforeRequest Event called before request processing
OnRequest Event called for request processing
AfterResponse Event called after response processing