#include <client.hpp>
Public Attributes | |
| std::unique_ptr< std::istream > | input |
| std::string | contentType = std::string() |
| std::optional< std::uint64_t > | size = std::nullopt |
Raw request body: stream sent as is (media types without codec)
| std::string anch::rest::RawBody::contentType = std::string() |
Content type (empty: chosen by the caller, generated clients use the declared media type)
| std::unique_ptr<std::istream> anch::rest::RawBody::input |
Body stream
| std::optional<std::uint64_t> anch::rest::RawBody::size = std::nullopt |
Body size ( Content-Length , streamed by the libcurl transport), empty when unknown