12namespace clients::
http {
19 Form(
const Form&) =
delete;
20 Form(Form&&) =
delete;
21 Form& operator=(
const Form&) =
delete;
22 Form& operator=(Form&&) =
delete;
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);
34 const std::shared_ptr<curl::form>& GetNative()
const;
37 std::shared_ptr<curl::form> impl_;