post_request.h 718 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright (C) 2016 Internet Systems Consortium, Inc. ("ISC")
  2. //
  3. // This Source Code Form is subject to the terms of the Mozilla Public
  4. // License, v. 2.0. If a copy of the MPL was not distributed with this
  5. // file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. #ifndef HTTP_POST_REQUEST_H
  7. #define HTTP_POST_REQUEST_H
  8. #include <http/request.h>
  9. namespace isc {
  10. namespace http {
  11. /// @brief Represents HTTP POST request.
  12. ///
  13. /// Instructs the parent class to require:
  14. /// - HTTP POST message type,
  15. /// - Content-Length header,
  16. /// - Content-Type header.
  17. class PostHttpRequest : public HttpRequest {
  18. public:
  19. /// @brief Constructor.
  20. PostHttpRequest();
  21. };
  22. } // namespace http
  23. } // namespace isc
  24. #endif