Dela via


CorsHttpMethods Enum

Definition

HTTP methods that are supported by CORS.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum CorsHttpMethods
[<System.Flags>]
type CorsHttpMethods = 
Public Enum CorsHttpMethods
Inheritance
CorsHttpMethods
Attributes

Fields

Name Value Description
None 0

Represents no HTTP method in a CORS rule.

Get 1

Represents the GET HTTP method in a CORS rule.

Head 2

Represents the HEAD HTTP method in a CORS rule.

Post 4

Represents the POST HTTP method in a CORS rule.

Put 8

Represents the PUT HTTP method in a CORS rule.

Delete 16

Represents the DELETE HTTP method in a CORS rule.

Trace 32

Represents the TRACE HTTP method in a CORS rule.

Options 64

Represents the OPTIONS HTTP method in a CORS rule.

Connect 128

Represents the CONNECT HTTP method in a CORS rule.

Merge 256

Represents the MERGE HTTP method in a CORS rule.

Applies to