view include/core/http.h @ 95:8043152ef9d4

include: set classes as final where appropriate
author Paper <mrpapersonic@gmail.com>
date Wed, 01 Nov 2023 14:39:43 -0400
parents 6f7385bd334c
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