service_req.h 512 B

123456789101112131415161718192021222324252627282930
  1. // Copyright (c) 2017, Tencent Inc.
  2. // All rights reserved.
  3. //
  4. // Author: sevenyou <sevenyou@tencent.com>
  5. // Created: 11/14/17
  6. // Description:
  7. #ifndef SERVICE_REQ_H
  8. #define SERVICE_REQ_H
  9. #pragma once
  10. #include "cos_defines.h"
  11. #include "request/base_req.h"
  12. #include "util/string_util.h"
  13. namespace qcloud_cos {
  14. class GetServiceReq : public BaseReq {
  15. public:
  16. GetServiceReq() {
  17. SetMethod("GET");
  18. SetPath("/");
  19. }
  20. virtual ~GetServiceReq() {}
  21. };
  22. } // namespace qcloud_cos
  23. #endif // SERVICE_REQ_H