17 virtual std::size_t
fetch(
char* buffer, std::size_t amount) = 0;
22 virtual std::size_t
size() = 0;
Sublass this source class to provide your own Source. A source provides data to upload to servers.
Definition source.hpp:12
Source(Source const &)=default
virtual std::size_t size()=0
virtual ~Source()=default
virtual std::size_t fetch(char *buffer, std::size_t amount)=0
virtual bool isChunked() const
Definition source.hpp:27
Source & operator=(Source const &)=default
Source(Source &&)=default
Source & operator=(Source &&)=default
Definition curl_error.hpp:9