Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpListenerResponse Methods

The HttpListenerResponse type exposes the following members.

  Name Description
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.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (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
  Name Description
Explicit interface implemetation Private method IDisposable.Dispose Infrastructure. Releases all resources used by the HttpListenerResponse.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.