HttpListenerResponse Methods
The HttpListenerResponse type exposes the following members.
Methods
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(array<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.
|
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.
|
|
ToString | (Inherited from Object.) |