Data.Cloud.AzureAPI.StorageAnalytics.TCorsRule

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTCorsRule
[–] Properties
Type: class
Visibility: public
Source:
Data.Cloud.AzureAPI.StorageAnalytics.pas
Data.Cloud.AzureAPI.StorageAnalytics.hpp
Unit: Data.Cloud.AzureAPI.StorageAnalytics
Parent: Data.Cloud.AzureAPI.StorageAnalytics

Delphi

TCorsRule = class

C++

class PASCALIMPLEMENTATION TCorsRule : public System::TObject

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