RequestHeaders Class
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
Request |
Initializes a new instance of RequestHeaders. |
Accept |
Gets or sets the |
Accept |
Gets or sets the |
Accept |
Gets or sets the |
Accept |
Gets or sets the |
Cache |
Gets or sets the |
Content |
Gets or sets the |
Content |
Gets or sets the |
Content |
Gets or sets the |
Content |
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 |
If |
Gets or sets the |
If |
Gets or sets the |
If |
Gets or sets the |
If |
Gets or sets the |
If |
Gets or sets the |
Last |
Gets or sets the |
Range |
Gets or sets the |
Referer |
Gets or sets the |
Append(String, Object) |
Appends the header name and value. |
Append |
Appends the header name and it's values. |
Get<T>(String) |
Gets the value of header with |
Get |
Gets the values of header with |
Set(String, Object) |
Sets the header value. |
Set |
Sets the specified header and it's values. |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |