C# Class Blighttp.Reply

Exibir arquivo Open project: epicvrvs/Blighttp Class Usage Examples

Public Methods

Method Description
GetChunkedData ( Request request, bool &WasLastChunk ) : byte[]
GetChunkedHeader ( ) : byte[]
GetData ( ) : byte[]
Referral ( string url ) : Reply
Reply ( ) : System
Reply ( ReplyCode code, ContentType type, ChunkedHandlerCallbackType chunkedHandlerDelegate ) : System
Reply ( ReplyCode code, ContentType type, string body ) : System
Reply ( string body ) : System

Private Methods

Method Description
GetCommonHeader ( ) : string
Initialise ( ReplyCode code, ContentType type ) : void
MergeHeaderAndBody ( byte header, byte body ) : byte[]

Method Details

GetChunkedData() public method

public GetChunkedData ( Request request, bool &WasLastChunk ) : byte[]
request Request
WasLastChunk bool
return byte[]

GetChunkedHeader() public method

public GetChunkedHeader ( ) : byte[]
return byte[]

GetData() public method

public GetData ( ) : byte[]
return byte[]

Referral() public static method

public static Referral ( string url ) : Reply
url string
return Reply

Reply() public method

public Reply ( ) : System
return System

Reply() public method

public Reply ( ReplyCode code, ContentType type, ChunkedHandlerCallbackType chunkedHandlerDelegate ) : System
code ReplyCode
type ContentType
chunkedHandlerDelegate ChunkedHandlerCallbackType
return System

Reply() public method

public Reply ( ReplyCode code, ContentType type, string body ) : System
code ReplyCode
type ContentType
body string
return System

Reply() public method

public Reply ( string body ) : System
body string
return System