#pragma once #include #include #include #include namespace utils::http { using headers = std::unordered_map; std::optional get_data(const std::string& url, const headers& headers = {}); std::future> get_data_async(const std::string& url, const headers& headers = {}); }