pwn++  0.1.4
A (toy) Windows & Linux pwn library to play with modern C++.
Network.hpp
1 #pragma once
2 
3 #include "Common.hpp"
4 
5 namespace pwn::Net
6 {
7 class HTTP
8 {
9 public:
17  static Result<u64>
18  DownloadFile(std::string_view const& url, std::filesystem::path const& local_path);
19 };
20 } // namespace Net
Definition: Network.hpp:8
static Result< u64 > DownloadFile(std::string_view const &url, std::filesystem::path const &local_path)
Download a file to disk.