![]() |
libfilezilla 0.59.0
A cross-platform C++ library for asynchronous and networked applications
|
A single HTTP request to be sent by the client. More...
#include <libfilezilla/http/client_request.hpp>


Public Types | |
| enum | flags : uint64_t { flag_confidential_path = 0x01 , flag_confidential_querystring = 0x2 , flag_force_ipv4 = 0x4 , flag_force_ipv6 = 0x8 } |
Public Member Functions | |
| std::optional< uint64_t > | update_content_length_from_body () |
| virtual bool | reset () |
| Public Member Functions inherited from with_headers | |
| std::optional< uint64_t > | get_content_length () const |
| void | set_content_length (uint64_t l) |
| Sets Content-Lenght. Also clears Transfer-Encoding. | |
| void | set_chunked_encoding () |
| Sets Transfer-Encoding to chunked. Also clears Content-Length. | |
| bool | chunked_encoding () const |
| Whether chunked encoding is used. | |
| void | set_content_type (std::string content_type) |
| std::string | get_header (std::string const &key) const |
| bool | keep_alive () const |
Public Attributes | |
| fz::uri | uri_ |
| std::string | verb_ |
| uint64_t | flags_ {} |
| std::unique_ptr< fz::reader_base > | body_ |
| std::function< void(std::shared_ptr< request_response_interface > const &, size_t c)> | on_body_sending_progress_ |
| Public Attributes inherited from with_headers | |
| headers | headers_ |
A single HTTP request to be sent by the client.
| enum flags : uint64_t |