mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-07-01 15:36:10 +00:00
- HTTP Proxy for backend.beammp.com - Fix Attempt for mod loading, game detecting partial zip file - Use nlohmann JSON - Update vcpkg parameters and commit ID - Add ability to open URL using default browser with filter
19 lines
789 B
C++
Executable File
19 lines
789 B
C++
Executable File
// Copyright (c) 2019-present Anonymous275.
|
|
// BeamMP Launcher code is not in the public domain and is not free software.
|
|
// One must be granted explicit permission by the copyright holder in order to modify or distribute any part of the source or binaries.
|
|
// Anything else is prohibited. Modified works may not be published and have be upstreamed to the official repository.
|
|
///
|
|
/// Created by Anonymous275 on 7/18/2020
|
|
///
|
|
#pragma once
|
|
#include <string>
|
|
#include "Logger.h"
|
|
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;
|
|
}; |