Class McHttpModule
The module intercepts and optimizes http requests.
Inheritance
System.Object
McHttpModule
Implements
System.Web.IHttpModule
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.FileUploader
Assembly: Mediachase.FileUploader.dll
Version: 10.8.0Syntax
public class McHttpModule : IHttpModule
Remarks
This module provides progress and optimized large file upload services. When the McHttpModule module is being used for the web-application, it's allow you to turn-on either Medium or Full mode.
Constructors
McHttpModule()
Declaration
public McHttpModule()
Properties
httpPostRedirect
Gets a redirect path.
Declaration
public static string httpPostRedirect { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If request is larger or other exception is generated, you will be redirected to the page specified in Redirect attribute.
ModuleName
Gets the name of the module.
Declaration
public string ModuleName { get; }
Property Value
Type | Description |
---|---|
System.String | Return "Mediachase.FileUploader.McHttpModule" string |
Methods
Dispose()
Releases the resources used by the McHttpModule.
Declaration
public void Dispose()
Init(HttpApplication)
Initializes a module and prepares it to handle requests.
Declaration
public void Init(HttpApplication application)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpApplication | application | An HttpApplication that provides access to the methods, properties, and events common to all application objects within an ASP.NET application. |
Implements
System.Web.IHttpModule