CorsConstants Class
CORS-related constants.
Namespace: System.Web.Cors
Assembly: System.Web.Cors (in System.Web.Cors.dll)
Inheritance Hierarchy
System.Object
System.Web.Cors.CorsConstants
Syntax
public static class CorsConstants
public ref class CorsConstants abstract sealed
[<AbstractClass>]
[<Sealed>]
type CorsConstants = class end
Public NotInheritable Class CorsConstants
Fields
Name | Description | |
---|---|---|
AccessControlAllowCredentials | The Access-Control-Allow-Credentials response header. |
|
AccessControlAllowHeaders | The Access-Control-Allow-Headers response header. |
|
AccessControlAllowMethods | The Access-Control-Allow-Methods response header. |
|
AccessControlAllowOrigin | The Access-Control-Allow-Origin response header. |
|
AccessControlExposeHeaders | The Access-Control-Expose-Headers response header. |
|
AccessControlMaxAge | The Access-Control-Max-Age response header. |
|
AccessControlRequestHeaders | The Access-Control-Request-Headers request header. |
|
AccessControlRequestMethod | The Access-Control-Request-Method request header. |
|
AnyOrigin | The value for the Access-Control-Allow-Origin response header to allow all origins. |
|
Origin | The Origin request header. |
|
PreflightHttpMethod | The HTTP method for the CORS preflight request. |
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