comparison include/core/http.h @ 389:1e5d922fe82b default tip

kitsu: implement UpdateAnimeEntry yay... i guess
author Paper <paper@tflc.us>
date Thu, 06 Nov 2025 12:21:35 -0500
parents 47c9f8502269
children
comparison
equal deleted inserted replaced
388:83aa0ddd1a46 389:1e5d922fe82b
16 16
17 std::string EncodeParamsList(std::string base, const std::map<std::string, std::string> &params); 17 std::string EncodeParamsList(std::string base, const std::map<std::string, std::string> &params);
18 18
19 enum class Type { 19 enum class Type {
20 Get, 20 Get,
21 Post 21 Post,
22 Patch
22 }; 23 };
23 24
24 QByteArray Request(const std::string &url, const std::vector<std::string> &headers = {}, const std::string &data = "", 25 QByteArray Request(const std::string &url, const std::vector<std::string> &headers = {}, const std::string &data = "",
25 Type type = Type::Get); 26 Type type = Type::Get);
26 27