HttpListenerResponse Methods |
The HttpListenerResponse type exposes the following members.
Name | Description | |
---|---|---|
Abort |
Closes the connection to the client without returning a response.
| |
AddHeader |
Adds an HTTP header with the specified name and
value to the headers for the response.
| |
AppendCookie |
Appends the specified cookie to the cookies sent with the response.
| |
AppendHeader |
Appends a value to the specified HTTP header sent with the response.
| |
Close |
Returns the response to the client and releases the resources used by
this HttpListenerResponse instance.
| |
Close(Byte, Boolean) |
Returns the response with the specified array of Byte to the client and
releases the resources used by this HttpListenerResponse instance.
| |
CopyFrom |
Copies some properties from the specified HttpListenerResponse to
this response.
| |
Redirect |
Configures the response to redirect the client's request to
the specified url.
| |
SetCookie |
Adds or updates a cookie in the cookies sent with the response.
|
Name | Description | |
---|---|---|
WriteContent |
Writes and sends the specified content data with the specified
HttpListenerResponse.
(Defined by Ext.) |