Skip to content

TInitModuleEvent

Event type for HTTP module initialization

Declaration

Source position: custweb.pp line 40

type
  TInitModuleEvent = procedure(Sender: TObject; Module: TCustomHTTPModule)
                              of object;

Arguments

Name Description
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

Name Description
TWebHandler.OnInitModule Event for initializing HTTP modules before request processing