Mercurial > minori
view include/core/http.h @ 158:80d6b28eb29f
dep/animia: fix most X11 stuff
it looks like _NET_WM_PID isn't supported by MOST clients, or my code is wrong...
core/filesystem: fix Linux config path handling on *nix
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 17 Nov 2023 02:07:33 -0500 |
parents | f5940a575d83 |
children | 2f5a9247e501 |
line wrap: on
line source
#ifndef __core__http_h #define __core__http_h #include <QByteArray> #include <string> #include <vector> namespace HTTP { 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 #endif // __core__http_h