| 
    libnick 2025.10.0
    
   A cross-platform base for native Nickvision applications. 
   | 
 
Go to the source code of this file.
Namespaces | |
| namespace | Nickvision | 
| namespace | Nickvision::Network | 
| namespace | Nickvision::Network::Web | 
Functions | |
| bool | Nickvision::Network::Web::getWebsiteExists (const std::string &url) noexcept | 
| Gets whether or not a url points to a valid website.   | |
| boost::json::value | Nickvision::Network::Web::getJson (const std::string &url) noexcept | 
| Makes a GET request for json from a url.   | |
| bool | Nickvision::Network::Web::downloadFile (const std::string &url, const std::filesystem::path &path, const cpr::ProgressCallback &progress={}, bool overwrite=true) noexcept | 
| Downloads a file to disk.   | |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at https://www.gnu.org/copyleft/gpl.html
Functions for working with the web.