| IResponse Interface |
Namespace: CMS.Base
public interface IResponse
The IResponse type exposes the following members.
| Name | Description | |
|---|---|---|
| Cache |
Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of the current Web page.
| |
| Cookies |
Gets the response cookie collection.
| |
| HeaderEncoding |
Gets or sets the encoding for the header of the current response.
| |
| Headers |
Gets the collection of response headers.
| |
| RedirectLocation |
Gets or sets the value of the HTTP Location header.
| |
| StatusCode |
Gets or sets the HTTP status code of the output that is returned to the client.
|
| Name | Description | |
|---|---|---|
| AddHeader |
Adds an HTTP header to the current response.
| |
| Clear |
Clears all headers and content output from the current response.
| |
| End |
Sends all currently buffered output to the client, stops execution of the requested process.
| |
| Redirect |
Redirects a request to the specified URL and specifies whether execution of the current process should terminate.
| |
| RedirectPermanent |
Performs a permanent redirect from the requested URL to the specified URL, and provides the option to complete the response.
| |
| SetCookie |
Updates an existing cookie in the cookie collection.
| |
| Write |
Writes the specified string to the HTTP response output stream.
|