#include <string_source.hpp>
◆ StringSource()
Roar::Curl::StringSource::StringSource |
( |
std::string |
str | ) |
|
|
explicit |
◆ fetch()
std::size_t Roar::Curl::StringSource::fetch |
( |
char * |
buffer, |
|
|
std::size_t |
amount |
|
) |
| |
|
overridevirtual |
This function gets called when the upload requests more data.
Implements Roar::Curl::Source.
◆ size()
std::size_t Roar::Curl::StringSource::size |
( |
| ) |
|
|
overridevirtual |
Returns the total size to upload. This function is unused if chunked encoding is used.
Implements Roar::Curl::Source.
◆ data_
std::string Roar::Curl::StringSource::data_ |
|
private |
◆ offset_
std::size_t Roar::Curl::StringSource::offset_ |
|
private |
The documentation for this class was generated from the following files: