Thetype exposes the following members.
Sets the HTTP character set of the output stream.
Sets the content length of the output stream.
Sets the HTTP MIME type of the output stream.
Gets a valus indicating whether client is still connected.
Enables binary output to the outgoing HTTP content body.
Gets or sets the HTTP status code of the output returned to the client.
Sets the HTTP status string of the output returned to the client.
Adds the specified header and value to the HTTP headers for this response.
Clears all content output from the buffer stream.
Determines whether the specified object is equal to the current object.(Inherited from .)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from .)
Serves as the default hash function.(Inherited from .)
Gets the(Inherited from of the current instance. .)
Creates a shallow copy of the current(Inherited from . .)
Returns a string that represents the current object.(Inherited from .)
Usually you do not have to implement this class if you host your server in ASP.NET Core, ASP.NET, OWIN or HttpListener. The library provides ready to use context, request and response implementrations for each of the ablove environments.
You will derive your class from this class only if you need to host your server in any other environment from listed above and than pass instance of your class into the ContextAsyncTHierarchyItem constructor.