12namespace clients::http {
19 Form(
const Form&) =
delete;
20 Form(Form&&)
noexcept;
21 Form& operator=(
const Form&) =
delete;
22 Form& operator=(Form&&)
noexcept;
24 void AddContent(std::string_view key, std::string_view content);
25 void AddContent(std::string_view key, std::string_view content,
const std::string& content_type);
27 void AddBuffer(
const std::string& key,
const std::string& file_name,
const std::shared_ptr<std::string>& buffer);
29 const std::string& key,
30 const std::string& file_name,
31 const std::shared_ptr<std::string>& buffer,
32 const std::string& content_type
37 std::unique_ptr<curl::form> GetNative() &&;
41 std::unique_ptr<curl::form> impl_;