Click or drag to resize
IResponse Interface
Defines implementation capable of preparing web response on the server.

Namespace: CMS.Base.Internal
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public interface IResponse

The IResponse type exposes the following members.

Properties
  NameDescription
Public propertyCache
Gets the caching policy (such as expiration time, privacy settings, and vary clauses) of the current Web page.
Public propertyContentType
Gets content type of the current response or null if not set.
Public propertyCookies
Gets the response cookie collection.
Public propertyHeaders
Gets the collection of response headers.
Public propertyRedirectLocation
Gets or sets the value of the HTTP Location header.
Public propertyStatusCode
Gets or sets the HTTP status code of the output that is returned to the client.
Top
Methods
  NameDescription
Public methodAddHeader
Adds an HTTP header to the current response.
Public methodClear
Clears all headers and content output from the current response.
Public methodEnd
Sends all currently buffered output to the client, stops execution of the requested process.
Public methodRedirect
Redirects a request to the specified URL and specifies whether execution of the current process should terminate.
Public methodRedirectPermanent
Performs a permanent redirect from the requested URL to the specified URL, and provides the option to complete the response.
Top
See Also