Click or drag to resize

CorsRule Class

Bucket CORS rules
Inheritance Hierarchy
SystemObject
  OBS.ModelCorsRule

Namespace:  OBS.Model
Assembly:  esdk_obs_.net (in esdk_obs_.net.dll) Version: 3.1.3.0 (3.1.3)
Syntax
C#
public class CorsRule

The CorsRule type exposes the following members.

Constructors
  NameDescription
Public methodCorsRule
Initializes a new instance of the CorsRule class
Top
Properties
  NameDescription
Public propertyAllowedHeaders
Request headers allowed by the CORS rules
Public propertyAllowedMethods
Method list of the CORS rules
Public propertyAllowedOrigins
List of origins (character strings representing domain names) allowed by the CORS rules
Public propertyExposeHeaders
Response headers allowed by the CORS rules
Public propertyId
CORS rule ID
Public propertyMaxAgeSeconds
Cache duration (in seconds) of the request result on the OBS client
Top
See Also