HeadBucketRequest.cs 484 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using COSXML.Common;
  5. namespace COSXML.Model.Bucket
  6. {
  7. /// <summary>
  8. /// 检索 Bucket 是否存在
  9. /// <see href="https://cloud.tencent.com/document/product/436/7735"/>
  10. /// </summary>
  11. public sealed class HeadBucketRequest : BucketRequest
  12. {
  13. public HeadBucketRequest(string bucket)
  14. : base(bucket)
  15. {
  16. this.method = CosRequestMethod.HEAD;
  17. }
  18. }
  19. }