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,
26 const std::string& content_type);
28 void AddBuffer(
const std::string& key,
const std::string& file_name,
29 const std::shared_ptr<std::string>& buffer);
30 void AddBuffer(
const std::string& key,
const std::string& file_name,
31 const std::shared_ptr<std::string>& buffer,
32 const std::string& content_type);
36 std::unique_ptr<curl::form> GetNative() &&;
40 std::unique_ptr<curl::form> impl_;