C# 클래스 PerplexMail.HttpStatisticsModule

This module tracks any events (statistics) that are triggered from e-mails send by the e-mailpackage.
상속: IHttpModule
파일 보기 프로젝트 열기: PerplexInternetmarketing/PerplexMail-for-Umbraco

공개 메소드들

메소드 설명
Dispose ( ) : void
Init ( System.Web.HttpApplication context ) : void

This method is called by underlying code and should not be called directly.

context_BeginRequest ( object sender, EventArgs e ) : void

This method is triggered for EVERY request the website gets. This includes html files, images, stylesheets etc.

processMailStatistics ( HttpContext c ) : void

This method processes e-mail statistics

registerEvent ( HttpContext c ) : void
sendResponse ( HttpResponse r, int statusCode, string content = "", string ContentType = "text/html" ) : void

Directly sends a response to the user and terminates the current request

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Init() 공개 메소드

This method is called by underlying code and should not be called directly.
public Init ( System.Web.HttpApplication context ) : void
context System.Web.HttpApplication The application context
리턴 void

context_BeginRequest() 공개 메소드

This method is triggered for EVERY request the website gets. This includes html files, images, stylesheets etc.
public context_BeginRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

processMailStatistics() 공개 메소드

This method processes e-mail statistics
public processMailStatistics ( HttpContext c ) : void
c System.Web.HttpContext The context of the request
리턴 void

registerEvent() 공개 메소드

public registerEvent ( HttpContext c ) : void
c System.Web.HttpContext
리턴 void

sendResponse() 공개 메소드

Directly sends a response to the user and terminates the current request
public sendResponse ( HttpResponse r, int statusCode, string content = "", string ContentType = "text/html" ) : void
r System.Web.HttpResponse The response that is to be sent to the user
statusCode int The status code, for example 200 or 404 or 500
content string Any relevant content that is to be sent to the user
ContentType string The type of the content that is to be sent to the user. Default is text/html
리턴 void