mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-06 21:57:47 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <boost/function.hpp>
|
||||
#include "format_string.h"
|
||||
#include "BootstrapperSite.h"
|
||||
|
||||
namespace HttpTools
|
||||
{
|
||||
static int httpBoostPostTimeout = 0;
|
||||
|
||||
std::string httpGetString(const std::string& url);
|
||||
|
||||
int httpGet(IInstallerSite *site, std::string host, std::string path, std::string& etag, std::ostream& result, bool ignoreCancel, boost::function<void(int, int)> progress, bool log = true);
|
||||
int httpPost(IInstallerSite *site, std::string host, std::string path, std::istream& input, const char* contentType, std::ostream& result, bool ignoreCancel, boost::function<void(int, int)> progress, bool log = true);
|
||||
int httpGetCdn(IInstallerSite *site, std::string secondaryHost, std::string path, std::string& etag, std::ostream& result, bool ignoreCancel, boost::function<void(int, int)> progress);
|
||||
const std::string getPrimaryCdnHost(IInstallerSite *site);
|
||||
const std::string getCdnHost(IInstallerSite *site);
|
||||
}
|
||||
Reference in New Issue
Block a user