pwn++  0.1.4
A (toy) Windows & Linux pwn library to play with modern C++.
pwn::Net::HTTP Class Reference

Static Public Member Functions

static Result< u64 > DownloadFile (std::string_view const &url, std::filesystem::path const &local_path)
 Download a file to disk. More...
 

Member Function Documentation

◆ 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
urlthe URL of the file to download
local_paththe 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: