Added HTTP logic and login

This commit is contained in:
Anonymous275
2022-01-17 18:20:57 +02:00
parent b074ff5448
commit f110ef2bc8
10 changed files with 302 additions and 9 deletions

17
include/Http.h Normal file
View File

@@ -0,0 +1,17 @@
///
/// Created by Anonymous275 on 1/17/22
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
///
#pragma once
#include <string>
class HTTP {
public:
static bool Download(const std::string &IP, const std::string &Path);
static std::string Post(const std::string& IP, const std::string& Fields);
static std::string Get(const std::string &IP);
static bool ProgressBar(size_t c, size_t t);
public:
static bool isDownload;
};