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

TInitModuleEvent

Event type for HTTP module initialization

Declaration

Source position: custweb.pp line 40

type TInitModuleEvent = procedure(

  Sender: TObject;

  Module: TCustomHTTPModule

) of object;

Arguments

Sender

  

The web handler object that triggered the event

Module

  

The HTTP module being initialized

Description

Event handler type called when an HTTP module is initialized before handling a request. Allows custom initialization of module properties and setup.

See also

TWebHandler.OnInitModule

  

Event for initializing HTTP modules before request processing


Documentation generated on: Jan 27 2026