CCF
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ccf::curl::RequestBody Class Reference

#include <curl.h>

Public Member Functions

 RequestBody (std::vector< uint8_t > &buffer)
 
 RequestBody (std::vector< uint8_t > &&buffer)
 
 RequestBody (nlohmann::json json)
 
void attach_to_curl (CURL *curl)
 

Static Public Member Functions

static size_t send_data (char *ptr, size_t size, size_t nitems, RequestBody *data)
 

Constructor & Destructor Documentation

◆ RequestBody() [1/3]

ccf::curl::RequestBody::RequestBody ( std::vector< uint8_t > &  buffer)
inline

◆ RequestBody() [2/3]

ccf::curl::RequestBody::RequestBody ( std::vector< uint8_t > &&  buffer)
inline

◆ RequestBody() [3/3]

ccf::curl::RequestBody::RequestBody ( nlohmann::json  json)
inline

Member Function Documentation

◆ attach_to_curl()

void ccf::curl::RequestBody::attach_to_curl ( CURL *  curl)
inline

◆ send_data()

static size_t ccf::curl::RequestBody::send_data ( char *  ptr,
size_t  size,
size_t  nitems,
RequestBody data 
)
inlinestatic

The documentation for this class was generated from the following file: