GetBucketWebsiteRequest.cs 391 B

12345678910111213141516
  1. using COSXML.Common;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace COSXML.Model.Bucket
  6. {
  7. public sealed class GetBucketWebsiteRequest : BucketRequest
  8. {
  9. public GetBucketWebsiteRequest(string bucket) : base(bucket)
  10. {
  11. this.method = CosRequestMethod.GET;
  12. this.queryParameters.Add("website", null);
  13. }
  14. }
  15. }