make_form.h 783 B

123456789101112131415161718192021222324252627
  1. //#pragma once
  2. //#include "http_define.h"
  3. //
  4. //#if USE_NET_HTTP_UTIL
  5. //#include "util/vector.hpp"
  6. //namespace ylib
  7. //{
  8. // namespace network
  9. // {
  10. // namespace http
  11. // {
  12. // class make_form
  13. // {
  14. // public:
  15. // make_form();
  16. // ~make_form();
  17. // bool add(const std::string& name, const std::string& value);
  18. // bool add(const std::string& name, const std::string& filename, const std::string& content_type, const ylib::buffer& data);
  19. // bool make(ylib::buffer& data, std::string& boundary) const;
  20. // private:
  21. // ylib::vector<form_info*> m_list;
  22. // ylib::buffer m_data;
  23. // };
  24. // }
  25. // }
  26. //}
  27. //#endif