ResponseHeaders Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Strongly typed HTTP response headers.
public ref class ResponseHeaders
public class ResponseHeaders
type ResponseHeaders = class
Public Class ResponseHeaders
- Inheritance
-
ResponseHeaders
Constructors
ResponseHeaders(IHeaderDictionary) |
Initializes a new instance of ResponseHeaders. |
Properties
CacheControl |
Gets or sets the |
ContentDisposition |
Gets or sets the |
ContentLength |
Gets or sets the |
ContentRange |
Gets or sets the |
ContentType |
Gets or sets the |
Date |
Gets or sets the |
ETag |
Gets or sets the |
Expires |
Gets or sets the |
Headers |
Gets the backing response header dictionary. |
LastModified |
Gets or sets the |
Location |
Gets or sets the |
SetCookie |
Gets or sets the |
Methods
Append(String, Object) |
Appends the header name and value. |
AppendList<T>(String, IList<T>) |
Appends the header name and it's values. |
Get<T>(String) |
Gets the value of header with |
GetList<T>(String) |
Gets the values of header with |
Set(String, Object) |
Sets the header value. |
SetList<T>(String, IList<T>) |
Sets the specified header and it's values. |