CorsRequestContext Class
Provides access to CORS-specific information on the request.
Namespace: System.Web.Cors
Assembly: System.Web.Cors (in System.Web.Cors.dll)
Inheritance Hierarchy
System.Object
System.Web.Cors.CorsRequestContext
Syntax
public class CorsRequestContext
public ref class CorsRequestContext
type CorsRequestContext = class end
Public Class CorsRequestContext
Constructors
Name | Description | |
---|---|---|
CorsRequestContext() | Initializes a new instance of the CorsRequestContext class. |
Properties
Name | Description | |
---|---|---|
AccessControlRequestHeaders | Gets the Access-Control-Request-Headers header value. |
|
AccessControlRequestMethod | Gets or sets the Access-Control-Request-Method header value. |
|
Host | Gets or sets the Host header value. |
|
HttpMethod | Gets or sets the request method. |
|
IsPreflight | Gets a value indicating whether this is a preflight request. |
|
Origin | Gets or sets the Origin header value. |
|
Properties | Gets a set of properties for the CorsRequestContext. |
|
RequestUri | Gets or sets the request URI. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | Returns a String that represents this instance.(Overrides Object.ToString().) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Return to top