|
| static Result< u64 > | DownloadFile (std::string_view const &url, std::filesystem::path const &local_path) |
| | Download a file to disk. More...
|
| |
◆ DownloadFile()
| static Result<u64> pwn::Net::HTTP::DownloadFile |
( |
std::string_view const & |
url, |
|
|
std::filesystem::path const & |
local_path |
|
) |
| |
|
static |
Download a file to disk.
- Parameters
-
| url | the URL of the file to download |
| local_path | the local path to use to store the file |
- Returns
- Result<u32> on success, the size of the downloaded file
The documentation for this class was generated from the following file:
- /home/runner/work/pwn--/pwn--/Modules/Network/Include/Win32/Network.hpp