Share via


service_properties::set_cors Method

Sets the Cross Origin Resource Sharing (CORS) properties for the service.

void set_cors(
   std::vector<cors_rule> value
);

Parameters

  • value
    The CORS properties for the service.

Requirements

Header: common.h

Namespace: azure::storage

See Also

Reference

service_properties Class