C# Class ETravel.Web.FakeHttps.HttpModule

HttpModule to enforce the X-Forwarded-Proto header from SSL Offloaders in ASP.NET
It only works on Integrated mode Configuration settings in appSettings: - FakeHttp.ForceHttps (true/false) If set to true, all connections will be faked as secure
Inheritance: IHttpModule
显示文件 Open project: e-travel/FakeHttps

Public Methods

Method Description
Dispose ( ) : void

This method does nothing.

Init ( System.Web.HttpApplication application ) : void

Private Methods

Method Description
ApplicationBeginRequest ( object sender, EventArgs e ) : void

Method Details

Dispose() public method

This method does nothing.
public Dispose ( ) : void
return void

Init() public method

public Init ( System.Web.HttpApplication application ) : void
application System.Web.HttpApplication
return void