อ่านในภาษาอังกฤษ

แชร์ผ่าน


CorsHttpMethods Enum

Definition

HTTP methods that are supported by CORS.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
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.

Patch 512

Represents the PATCH HTTP method in a CORS rule.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
Azure SDK for .NET Legacy, Latest