C# Class EvHttpSharp.EventHttpRequest

Afficher le fichier Open project: kekekeks/evhttp-sharp Class Usage Examples

Méthodes publiques

Méthode Description
EventHttpRequest ( EventHttpListener listener, IntPtr handle ) : System
Respond ( HttpStatusCode code, string>.IDictionary headers, ArraySegment body ) : void
Respond ( HttpStatusCode code, string>.IDictionary headers, IEnumerable body ) : void
Respond ( HttpStatusCode code, string>.IDictionary headers, byte body ) : void

Private Methods

Méthode Description
CalculateLength ( ArraySegment body ) : int

Method Details

EventHttpRequest() public méthode

public EventHttpRequest ( EventHttpListener listener, IntPtr handle ) : System
listener EventHttpListener
handle System.IntPtr
Résultat System

Respond() public méthode

public Respond ( HttpStatusCode code, string>.IDictionary headers, ArraySegment body ) : void
code HttpStatusCode
headers string>.IDictionary
body ArraySegment
Résultat void

Respond() public méthode

public Respond ( HttpStatusCode code, string>.IDictionary headers, IEnumerable body ) : void
code HttpStatusCode
headers string>.IDictionary
body IEnumerable
Résultat void

Respond() public méthode

public Respond ( HttpStatusCode code, string>.IDictionary headers, byte body ) : void
code HttpStatusCode
headers string>.IDictionary
body byte
Résultat void