Dela via


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.

AnyHeader

The value for the Access-Control-Allow-Headers response header to allow all headers.

AnyMethod

The value for the Access-Control-Allow-Methods response header to allow all methods.

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