Export (0) Print
Expand All

HttpListenerResponse Methods

The HttpListenerResponse type exposes the following members.

  NameDescription
Public method Abort Closes the connection to the client without sending a response.
Public method AddHeader Adds the specified header and value to the HTTP headers for this response.
Public method AppendCookie Adds the specified Cookie to the collection of cookies for this response.
Public method AppendHeader Appends a value to the specified HTTP header to be sent with this response.
Public method Close() Sends the response to the client and releases the resources held by this HttpListenerResponse instance.
Public method Close(Byte[], Boolean) Returns the specified byte array to the client and releases the resources held by this HttpListenerResponse instance.
Public method CopyFrom Copies properties from the specified HttpListenerResponse to this response.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Redirect Configures the response to redirect the client to the specified URL.
Public method SetCookie Adds or updates a Cookie in the collection of cookies sent with this response.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetation Private method IDisposable.Dispose Infrastructure. Releases all resources used by the HttpListenerResponse.
Top

Community Additions

ADD
Show:
© 2014 Microsoft