kaycxx-http
HTTP client library
Loading...
Searching...
No Matches
transfer_progress.hpp
1// SPDX-FileCopyrightText: 2026 Klaus Reimer <k@ailis.de>
2// SPDX-License-Identifier: MIT
3
4#pragma once
5
6#include <cstdint>
7
8namespace kaycxx::http {
9
13 std::uint64_t downloaded{};
14
16 std::uint64_t download_total{};
17
19 std::uint64_t uploaded{};
20
22 std::uint64_t upload_total{};
23};
24
25} // namespace kaycxx::http
Current HTTP transfer progress reported by libcurl.
Definition transfer_progress.hpp:11
std::uint64_t download_total
Expected total number of downloaded bytes, or zero when unknown, unused or empty.
Definition transfer_progress.hpp:16
std::uint64_t upload_total
Expected total number of uploaded bytes, or zero when unknown, unused or empty.
Definition transfer_progress.hpp:22
std::uint64_t downloaded
Number of bytes downloaded so far.
Definition transfer_progress.hpp:13
std::uint64_t uploaded
Number of bytes uploaded so far.
Definition transfer_progress.hpp:19