C# Class Blighttp.Reply

Afficher le fichier Open project: epicvrvs/Blighttp Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

GetChunkedData() public méthode

public GetChunkedData ( Request request, bool &WasLastChunk ) : byte[]
request Request
WasLastChunk bool
Résultat byte[]

GetChunkedHeader() public méthode

public GetChunkedHeader ( ) : byte[]
Résultat byte[]

GetData() public méthode

public GetData ( ) : byte[]
Résultat byte[]

Referral() public static méthode

public static Referral ( string url ) : Reply
url string
Résultat Reply

Reply() public méthode

public Reply ( ) : System
Résultat System

Reply() public méthode

public Reply ( ReplyCode code, ContentType type, ChunkedHandlerCallbackType chunkedHandlerDelegate ) : System
code ReplyCode
type ContentType
chunkedHandlerDelegate ChunkedHandlerCallbackType
Résultat System

Reply() public méthode

public Reply ( ReplyCode code, ContentType type, string body ) : System
code ReplyCode
type ContentType
body string
Résultat System

Reply() public méthode

public Reply ( string body ) : System
body string
Résultat System