comparison include/core/http.h @ 76:3364fadc8a36

*: format source code
author Paper <mrpapersonic@gmail.com>
date Wed, 04 Oct 2023 01:46:33 -0400
parents d3e9310598b1
children 6f7385bd334c
comparison
equal deleted inserted replaced
75:d3e9310598b1 76:3364fadc8a36
1 #ifndef __core__http_h 1 #ifndef __core__http_h
2 #define __core__http_h 2 #define __core__http_h
3 3
4 #include <QThread>
4 #include <string> 5 #include <string>
5 #include <vector> 6 #include <vector>
6 #include <QThread>
7 7
8 class QObject; 8 class QObject;
9 9
10 namespace HTTP { 10 namespace HTTP {
11 11
26 }; 26 };
27 27
28 /* Performs a basic (blocking) post request */ 28 /* Performs a basic (blocking) post request */
29 std::string PerformBasicPostRequest(std::string url, std::string data, std::vector<std::string> headers = {}); 29 std::string PerformBasicPostRequest(std::string url, std::string data, std::vector<std::string> headers = {});
30 30
31 } 31 } // namespace HTTP
32 32
33 #endif // __core__http_h 33 #endif // __core__http_h