C# Class Stumps.Server.Data.HttpResponseEntityReader

A class that provides an T:Stumps.IStumpsHttpResponse implementation using a T:Stumps.Server.Data.HttpResponseEntity object.
Inheritance: IStumpsHttpResponse
Afficher le fichier Open project: Cayan-LLC/stumps

Méthodes publiques

Méthode Description
AppendToBody ( byte buffer ) : void

Appends a byte array to the body of the HTTP response.

ClearBody ( ) : void

Clears the existing body of the HTTP response.

GetBody ( ) : byte[]

Gets the bytes for the HTTP body.

HttpResponseEntityReader ( string serverId, HttpResponseEntity responseEntity, IDataAccess dataAccess ) : System

Initializes a new instance of the T:Stumps.Server.Data.HttpResponseEntityReader class.

Method Details

AppendToBody() public méthode

Appends a byte array to the body of the HTTP response.
Thrown when altering the HTTP body.
public AppendToBody ( byte buffer ) : void
buffer byte The bytes to append to the body of the response.
Résultat void

ClearBody() public méthode

Clears the existing body of the HTTP response.
Thrown when altering the HTTP body.
public ClearBody ( ) : void
Résultat void

GetBody() public méthode

Gets the bytes for the HTTP body.
public GetBody ( ) : byte[]
Résultat byte[]

HttpResponseEntityReader() public méthode

Initializes a new instance of the T:Stumps.Server.Data.HttpResponseEntityReader class.
/// is null. /// or /// is null. /// or /// is null. ///
public HttpResponseEntityReader ( string serverId, HttpResponseEntity responseEntity, IDataAccess dataAccess ) : System
serverId string The unique identifier for the server.
responseEntity HttpResponseEntity The response entity.
dataAccess IDataAccess The data access provider used by the instance.
Résultat System