CorsConstants Class

Definition

CORS-related constants.

public ref class CorsConstants abstract sealed
public static class CorsConstants
type CorsConstants = class
Public Class CorsConstants
Inheritance
CorsConstants

Fields

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.

Applies to