C# Class EvHttpSharp.EventHttpRequest

Show file Open project: kekekeks/evhttp-sharp Class Usage Examples

Public Methods

Method 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

Method Description
CalculateLength ( ArraySegment body ) : int

Method Details

EventHttpRequest() public method

public EventHttpRequest ( EventHttpListener listener, IntPtr handle ) : System
listener EventHttpListener
handle System.IntPtr
return System

Respond() public method

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

Respond() public method

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

Respond() public method

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