Mercurial > minori
diff include/core/http.h @ 100:f5940a575d83
track/constants: add many more video formats
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 03 Nov 2023 09:43:04 -0400 |
parents | 6f7385bd334c |
children | 2f5a9247e501 |
line wrap: on
line diff
--- a/include/core/http.h Fri Nov 03 09:00:46 2023 -0400 +++ b/include/core/http.h Fri Nov 03 09:43:04 2023 -0400 @@ -7,8 +7,8 @@ namespace HTTP { -QByteArray Get(std::string url, std::vector<std::string> headers = {}); -QByteArray Post(std::string url, std::string data, std::vector<std::string> headers = {}); +QByteArray Get(const std::string& url, const std::vector<std::string>& headers = {}); +QByteArray Post(const std::string& url, const std::string& data, const std::vector<std::string>& headers = {}); } // namespace HTTP