25#include "../compat.hpp"
26#include "common_types.hpp"
27#include "http_client_config.hpp"
28#include "http_headers_proxy.hpp"
31namespace essence::net {
39 abi::vector<std::byte> download_file(
const uri& absolute_uri,
const http_header_handler& header_handler = {});
49 abi::vector<std::byte> download_file(
50 const uri& absolute_uri,
const http_client_config& config,
const http_header_handler& header_handler = {});
60 abi::vector<std::byte> download_file(
const uri& absolute_uri,
const http_progress_handlers& progress_handlers,
61 const http_header_handler& header_handler = {});
72 abi::vector<std::byte> download_file(
const uri& absolute_uri,
const http_client_config& config,
73 const http_progress_handlers& progress_handlers,
const http_header_handler& header_handler = {});