t8-mod/source/shared-code/utilities/http.hpp
2023-11-10 13:52:20 -08:00

12 lines
244 B
C++

#pragma once
#include <string>
#include <optional>
#include <future>
namespace utilities::http
{
std::optional<std::string> get_data(const std::string& url);
std::future<std::optional<std::string>> get_data_async(const std::string& url);
}