CorsConstants Class

 

CORS-related constants.

Namespace:   System.Web.Cors
Assembly:  System.Web.Cors (in System.Web.Cors.dll)

System::Object
  System.Web.Cors::CorsConstants

public ref class CorsConstants abstract sealed 

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticAccessControlAllowCredentials

The Access-Control-Allow-Credentials response header.

System_CAPS_pubfieldSystem_CAPS_staticAccessControlAllowHeaders

The Access-Control-Allow-Headers response header.

System_CAPS_pubfieldSystem_CAPS_staticAccessControlAllowMethods

The Access-Control-Allow-Methods response header.

System_CAPS_pubfieldSystem_CAPS_staticAccessControlAllowOrigin

The Access-Control-Allow-Origin response header.

System_CAPS_pubfieldSystem_CAPS_staticAccessControlExposeHeaders

The Access-Control-Expose-Headers response header.

System_CAPS_pubfieldSystem_CAPS_staticAccessControlMaxAge

The Access-Control-Max-Age response header.

System_CAPS_pubfieldSystem_CAPS_staticAccessControlRequestHeaders

The Access-Control-Request-Headers request header.

System_CAPS_pubfieldSystem_CAPS_staticAccessControlRequestMethod

The Access-Control-Request-Method request header.

System_CAPS_pubfieldSystem_CAPS_staticAnyOrigin

The value for the Access-Control-Allow-Origin response header to allow all origins.

System_CAPS_pubfieldSystem_CAPS_staticOrigin

The Origin request header.

System_CAPS_pubfieldSystem_CAPS_staticPreflightHttpMethod

The HTTP method for the CORS preflight request.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: