mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-04 06:46:06 +00:00
fix auto detect on first launch
current bug: updating launcher
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
typedef bool (*DownloadProgress) (size_t c, size_t t);
|
||||
class HTTP {
|
||||
public:
|
||||
static bool Download(const std::string& IP, const std::string& Path);
|
||||
static bool Download(const std::string& IP, const std::string& Path, DownloadProgress DP = ProgressBar);
|
||||
static std::string Post(const std::string& IP, const std::string& Fields);
|
||||
static std::string Get(const std::string& IP);
|
||||
static std::string Get(const std::string& IP, DownloadProgress DP = ProgressBar);
|
||||
static bool ProgressBar(size_t c, size_t t);
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user