getBucketAccelerate method
GET Bucket accelerate 接口实现查询存储桶的全球加速功能配置。
bucketName
region
Implementation
Future<COSAccelerateConfiguration> getBucketAccelerate({
String? bucketName,
String? region,
}) async {
final Response response =
await client.get('${getBaseApiUrl(bucketName, region)}/?accelerate');
return toXml<COSAccelerateConfiguration>(response)(
COSAccelerateConfiguration.fromXml);
}