mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-12 10:46:03 +00:00
Fix wstring for windows and add crossplatform code for fs strings
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
|
||||
#pragma once
|
||||
#include "Logger.h"
|
||||
#include "Utils.h"
|
||||
|
||||
#include <string>
|
||||
class HTTP {
|
||||
public:
|
||||
static bool Download(const std::string& IP, const std::wstring& Path);
|
||||
static bool Download(const std::string& IP, const beammp_fs_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);
|
||||
|
||||
Reference in New Issue
Block a user