Unit 'fpWeb' Package
[Overview][Resource strings][Types][Classes][Index] [#fcl]

TCustomFPWebModule.HandleRequest

Processes an incoming HTTP request

Declaration

Source position: fpweb.pp line 142

public procedure TCustomFPWebModule.HandleRequest(

  ARequest: TRequest;

  AResponse: TResponse

); override;

Arguments

ARequest

  

The HTTP request to process

AResponse

  

The HTTP response to generate

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

BeforeRequest

  

Event called before request processing

OnRequest

  

Event called for request processing

AfterResponse

  

Event called after response processing


Documentation generated on: Jan 27 2026