t8-mod/source/shared-code/utils/http.hpp

12 lines
240 B
C++
Raw Normal View History

2023-03-06 15:40:07 -05:00
#pragma once
#include <string>
#include <optional>
#include <future>
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);
}