HttpListenerResponse Methods
.NET Framework 4.5
The HttpListenerResponse type exposes the following members.
| Name | Description | |
|---|---|---|
|
Abort | Closes the connection to the client without sending a response. |
|
AddHeader | Adds the specified header and value to the HTTP headers for this response. |
|
AppendCookie | Adds the specified Cookie to the collection of cookies for this response. |
|
AppendHeader | Appends a value to the specified HTTP header to be sent with this response. |
|
Close() | Sends the response to the client and releases the resources held by this HttpListenerResponse instance. |
|
Close(Byte[], Boolean) | Returns the specified byte array to the client and releases the resources held by this HttpListenerResponse instance. |
|
CopyFrom | Copies properties from the specified HttpListenerResponse to this response. |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
Redirect | Configures the response to redirect the client to the specified URL. |
|
SetCookie | Adds or updates a Cookie in the collection of cookies sent with this response. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
IDisposable.Dispose | Infrastructure. Releases all resources used by the HttpListenerResponse. |