GETHandler.hpp 460 B

12345678910111213141516171819202122
  1. //
  2. // Created by David Mike on 2020/2/26.
  3. //
  4. #ifndef _GETHANDLER_HPP_
  5. #define _GETHANDLER_HPP_
  6. #include <HTTP/HTTPRequest.hpp>
  7. #include <HTTP/HTTPResponse.hpp>
  8. #include <utils/Foundation/File.hpp>
  9. #include <utils/Foundation/StreamIOHelper.hpp>
  10. #include <utils/Foundation/BasicIO.hpp>
  11. namespace greatbridf
  12. {
  13. namespace Handler
  14. {
  15. void GET(HTTPRequest& request, std::iostream& stream, HTTPResponse& response);
  16. }
  17. }
  18. #endif //_GETHANDLER_HPP_