#include <restincurl.h>


Public Member Functions | |
| InDataHandler (T &data) | |
Static Public Member Functions | |
| static size_t | write_callback (char *ptr, size_t size, size_t nitems, void *userdata) |
Public Attributes | |
| T & | data_ |
Template implementation for input data to curl during a request.
This handler deals with the data received from the HTTP server during a request. This implementation will typically use T=std::string and just store the received data in a string. For json/XML payloads that's probably all you need. But if you receive binary data, you may want to use a container like std::vector or std::deque in stead.
|
inline |
References data_, and RESTINCURL_LOG_TRACE.
Referenced by write_callback().
|
inlinestatic |
References InDataHandler().
Referenced by restincurl::RequestBuilder::StoreData().
| T& restincurl::InDataHandler< T >::data_ |
Referenced by InDataHandler().