Data.Cloud.AzureAPI.StorageAnalytics.TCorsRule

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTCorsRule

Delphi

TCorsRule = class

C++

class PASCALIMPLEMENTATION TCorsRule : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
Data.Cloud.AzureAPI.StorageAnalytics.pas
Data.Cloud.AzureAPI.StorageAnalytics.hpp
Data.Cloud.AzureAPI.StorageAnalytics Data.Cloud.AzureAPI.StorageAnalytics

Description

Represents a rule for CORS access.

You can use the following properties and their corresponding "add" methods to configure this CORS rule:

Property Add Method
AllowedHeaders AddAllowedHeader
AllowedMethods AddAllowedMethod
AllowedOrigins AllowedOrigins
ExposedHeaders AddExposedHeader

You can also configure the expiration time of preflight OPTIONS requests.

Read the XML property to obtain an XML representation of your CORS rule.

See Also