6#include <userver/utils/zstring_view.hpp>
14namespace clients::http {
21 Form(
const Form&) =
delete;
22 Form(Form&&)
noexcept;
23 Form& operator=(
const Form&) =
delete;
24 Form& operator=(Form&&)
noexcept;
26 void AddContent(std::string_view key, std::string_view content);
27 void AddContent(std::string_view key, std::string_view content, utils::zstring_view content_type);
29 void AddBuffer(std::string_view key, utils::zstring_view file_name,
const std::shared_ptr<std::string>& buffer);
32 utils::zstring_view file_name,
33 const std::shared_ptr<std::string>& buffer,
34 utils::zstring_view content_type
39 std::unique_ptr<curl::form> GetNative() &&;
43 std::unique_ptr<curl::form> impl_;