annotate include/core/http.h @ 89:e6fab256ddc4
dialog/info: make some stuff more sane
author |
Paper <mrpapersonic@gmail.com> |
date |
Tue, 31 Oct 2023 23:06:33 -0400 |
parents |
6f7385bd334c |
children |
f5940a575d83 |
rev |
line source |
75
|
1 #ifndef __core__http_h
|
|
2 #define __core__http_h
|
|
3
|
77
|
4 #include <QByteArray>
|
75
|
5 #include <string>
|
|
6 #include <vector>
|
|
7
|
|
8 namespace HTTP {
|
|
9
|
77
|
10 QByteArray Get(std::string url, std::vector<std::string> headers = {});
|
|
11 QByteArray Post(std::string url, std::string data, std::vector<std::string> headers = {});
|
75
|
12
|
76
|
13 } // namespace HTTP
|
75
|
14
|
|
15 #endif // __core__http_h
|