28#include <boost/json.hpp> 
   29#include <cpr/callback.h> 
   45    boost::json::value 
getJson(
const std::string& url) 
noexcept;
 
   53    bool downloadFile(
const std::string& url, 
const std::filesystem::path& path, 
const cpr::ProgressCallback& progress = {}, 
bool overwrite = 
true) 
noexcept;
 
 
bool getWebsiteExists(const std::string &url) noexcept
Gets whether or not a url points to a valid website.
 
bool downloadFile(const std::string &url, const std::filesystem::path &path, const cpr::ProgressCallback &progress={}, bool overwrite=true) noexcept
Downloads a file to disk.
 
boost::json::value getJson(const std::string &url) noexcept
Makes a GET request for json from a url.