Sign in Join
FPDoc Onlineexperiment

TGetModuleEvent procedure type

In unit CustWeb

Event type for determining HTTP module class for a request

Declaration

pascal
TGetModuleEvent = procedure(Sender: TObject; ARequest: TRequest; 
 var ModuleClass: TCustomHTTPModuleClass)
 of object

Arguments

Sender

The web handler object that triggered the event

ARequest

The HTTP request being processed

ModuleClass

Variable to store the selected HTTP module class

Description

Event handler type called when the web application needs to determine which HTTP module class to use for handling a specific request. This allows custom logic for module selection based on request properties.

See also

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