public abstract class ResponseAsync public abstract class ResponseAsync
Public MustInherit Class ResponseAsync Public MustInherit Class ResponseAsync
public ref class ResponseAsync abstract public ref class ResponseAsync abstract
[<AbstractClassAttribute>] type ResponseAsync = class end [<AbstractClassAttribute>] type ResponseAsync = class end
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 Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
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 ContextAsyncTHierarchyItemAsync constructor.