C# Class Electro.Handlers.BaseHttpHandler

Afficher le fichier Open project: HackerDom/ructfe-2015

Méthodes publiques

Méthode Description
Start ( ) : void

Méthodes protégées

Méthode Description
BaseHttpHandler ( string prefix ) : System
ProcessRequest ( HttpListenerContext context ) : void
WriteData ( HttpListenerContext context, byte data, string contentType ) : void
WriteString ( HttpListenerContext context, string msg ) : void

Private Methods

Méthode Description
Callback ( IAsyncResult result ) : void
Error ( HttpListenerContext context, HttpStatusCode status, string msg ) : void
Write ( HttpListenerContext context, byte data ) : void

Method Details

BaseHttpHandler() protected méthode

protected BaseHttpHandler ( string prefix ) : System
prefix string
Résultat System

ProcessRequest() protected abstract méthode

protected abstract ProcessRequest ( HttpListenerContext context ) : void
context System.Net.HttpListenerContext
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

WriteData() protected static méthode

protected static WriteData ( HttpListenerContext context, byte data, string contentType ) : void
context System.Net.HttpListenerContext
data byte
contentType string
Résultat void

WriteString() protected static méthode

protected static WriteString ( HttpListenerContext context, string msg ) : void
context System.Net.HttpListenerContext
msg string
Résultat void