azure-storage-blobs
Public Attributes | List of all members
Azure::Storage::Blobs::Models::CorsRule Struct Referencefinal

Settings for a CORS rule.

#include <blob_rest_client.hpp>

Public Attributes

std::string AllowedOrigins
 
std::string AllowedMethods
 
std::string AllowedHeaders
 
std::string ExposedHeaders
 
int32_t MaxAgeInSeconds = 0
 

Member Data Documentation

◆ AllowedHeaders

std::string Azure::Storage::Blobs::Models::CorsRule::AllowedHeaders

A comma-separated list of headers allowed to be part of the cross-origin request.

◆ AllowedMethods

std::string Azure::Storage::Blobs::Models::CorsRule::AllowedMethods

A comma-separated list of HTTP methods that are allowed to be executed by the origin. For Azure Storage, permitted methods are DELETE, GET, HEAD, MERGE, POST, OPTIONS or PUT.

◆ AllowedOrigins

std::string Azure::Storage::Blobs::Models::CorsRule::AllowedOrigins

A comma-separated list of origin domains that are allowed via CORS, or "*" if all domains are allowed.

◆ ExposedHeaders

std::string Azure::Storage::Blobs::Models::CorsRule::ExposedHeaders

A comma-separated list of response headers to expose to CORS clients.

◆ MaxAgeInSeconds

int32_t Azure::Storage::Blobs::Models::CorsRule::MaxAgeInSeconds = 0

The number of seconds that the client/browser should cache a preflight response.


The documentation for this struct was generated from the following file: