1#ifndef LIBFILEZILLA_HTTP_CLIENT_REQUEST_HEADER
2#define LIBFILEZILLA_HTTP_CLIENT_REQUEST_HEADER
12namespace fz::http::client {
31 flag_force_ipv4 = 0x4,
36 std::unique_ptr<fz::reader_base> body_;
38 std::function<void(std::shared_ptr<request_response_interface>
const&,
size_t c)> on_body_sending_progress_;
40 std::optional<uint64_t> update_content_length_from_body();
42 [[nodiscard]]
virtual bool reset();
Used for type erasure, so the internals don't need to know the full request/response.
Definition client.hpp:24
A single HTTP request to be sent by the client.
Definition client_request.hpp:19
flags
Definition client_request.hpp:24
@ flag_confidential_path
Avoids logging the path of the URI when processing request.
Definition client_request.hpp:26
@ flag_confidential_querystring
Avoids logging the path of the URI when processing request.
Definition client_request.hpp:29
The uri class is used to decompose URIs into their individual components.
Definition uri.hpp:30
Classes for reading data asynchronously from files.
Declares fz::uri for (de)composing URIs.