Mercurial > minori
view include/core/http.h @ 77:6f7385bd334c
*: update
formatted all source files, no more subclassing QThread... many other
changes :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 06 Oct 2023 06:18:53 -0400 |
parents | 3364fadc8a36 |
children | f5940a575d83 |
line wrap: on
line source
#ifndef __core__http_h #define __core__http_h #include <QByteArray> #include <string> #include <vector> 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 = {}); } // namespace HTTP #endif // __core__http_h