Unit 'CustWeb' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TGetModuleEvent

Event type for determining HTTP module class for a request

Declaration

Source position: custweb.pp line 36

type 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

TWebHandler.OnGetModule

  

Event for custom module selection logic


Documentation generated on: Jan 27 2026