Defcon/hook_lib/common/utils/http.hpp
MatrixMMOfficial 9631e4ca40 Initial commit
2023-11-26 08:54:06 -05:00

14 lines
276 B
C++

#pragma once
#include <string>
#include <optional>
#include <future>
#pragma comment(lib, "Urlmon.lib")
namespace utils::http
{
std::optional<std::string> get_data(const std::string& url);
std::future<std::optional<std::string>> get_data_async(const std::string& url);
}