Sign in Join
FPDoc Onlineexperiment

TCustomFPWebModule.HandleRequest procedure

Member of TCustomFPWebModulepublicIn unit FpWeb

Processes an incoming HTTP request

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.