C# 클래스 Electro.Handlers.BaseHttpHandler

파일 보기 프로젝트 열기: HackerDom/ructfe-2015

공개 메소드들

메소드 설명
Start ( ) : void

보호된 메소드들

메소드 설명
BaseHttpHandler ( string prefix ) : System
ProcessRequest ( HttpListenerContext context ) : void
WriteData ( HttpListenerContext context, byte data, string contentType ) : void
WriteString ( HttpListenerContext context, string msg ) : void

비공개 메소드들

메소드 설명
Callback ( IAsyncResult result ) : void
Error ( HttpListenerContext context, HttpStatusCode status, string msg ) : void
Write ( HttpListenerContext context, byte data ) : void

메소드 상세

BaseHttpHandler() 보호된 메소드

protected BaseHttpHandler ( string prefix ) : System
prefix string
리턴 System

ProcessRequest() 보호된 추상적인 메소드

protected abstract ProcessRequest ( HttpListenerContext context ) : void
context System.Net.HttpListenerContext
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

WriteData() 보호된 정적인 메소드

protected static WriteData ( HttpListenerContext context, byte data, string contentType ) : void
context System.Net.HttpListenerContext
data byte
contentType string
리턴 void

WriteString() 보호된 정적인 메소드

protected static WriteString ( HttpListenerContext context, string msg ) : void
context System.Net.HttpListenerContext
msg string
리턴 void