RequestHeaders 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 request headers.
public ref class RequestHeaders
public class RequestHeaders
type RequestHeaders = class
Public Class RequestHeaders
- Inheritance
-
RequestHeaders
Constructors
RequestHeaders(IHeaderDictionary) |
Initializes a new instance of RequestHeaders. |
Properties
Accept |
Gets or sets the |
AcceptCharset |
Gets or sets the |
AcceptEncoding |
Gets or sets the |
AcceptLanguage |
Gets or sets the |
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 |
Cookie |
Gets or sets the |
Date |
Gets or sets the |
Expires |
Gets or sets the |
Headers |
Gets the backing request header dictionary. |
Host |
Gets or sets the |
IfMatch |
Gets or sets the |
IfModifiedSince |
Gets or sets the |
IfNoneMatch |
Gets or sets the |
IfRange |
Gets or sets the |
IfUnmodifiedSince |
Gets or sets the |
LastModified |
Gets or sets the |
Range |
Gets or sets the |
Referer |
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. |