Init the handler and fulfill IHttpModule
Namespace: DotNetNuke.HttpModules.CompressionAssembly: DotNetNuke.HttpModules (in DotNetNuke.HttpModules.dll)
Syntax
C# |
---|
public void Init( HttpApplication context ) |
Visual Basic |
---|
Public Sub Init ( context As HttpApplication ) |
Parameters
- context
- Type: System.Web..::..HttpApplication
The HttpApplication this handler is working for.
Implements
IHttpModule..::..Init(HttpApplication)
Remarks
This implementation hooks the ReleaseRequestState and PreSendRequestHeaders events to
figure out as late as possible if we should install the filter. Previous versions did
not do this as well.