|
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 |
std::string Azure::Storage::Blobs::Models::CorsRule::AllowedHeaders |
A comma-separated list of headers allowed to be part of the cross-origin request.
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.
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.
std::string Azure::Storage::Blobs::Models::CorsRule::ExposedHeaders |
A comma-separated list of response headers to expose to CORS clients.
int32_t Azure::Storage::Blobs::Models::CorsRule::MaxAgeInSeconds = 0 |
The number of seconds that the client/browser should cache a preflight response.