1 #ifndef RAPP_CLOUD_FETCH_PERSONAL_DATA 
    2 #define RAPP_CLOUD_FETCH_PERSONAL_DATA 
   24                           const std::string user,
 
   25                           std::function < 
void( 
const std::string ) > callback
 
   30         post_ = 
"user="+user+
"\r\n";
 
   32         const std::string uri = 
"/hop/fetch_personal_data/";
 
   34         header_ = 
"POST " + uri + 
" HTTP/1.1\r\n";
 
   36         header_ += 
"Content-Type: application/x-www-form-urlencoded\r\n";
 
   37         header_ += 
"Content-Length: " + boost::lexical_cast<std::string>(post_.length()) + 
"\r\n";
 
   38         header_ += 
"Connection: close\r\n\r\n";
 
   40         callback_ = std::bind(&fetchPersonalData::handle_reply, 
this, std::placeholders::_1);
 
void handle_reply(std::string json)
 
std::function< void(const std::string)> delegate__
The callback called upon completion of receiving the detected faces. 
 
fetch_personal_data(const std::string user, std::function< void(const std::string) > callback)
Constructor for obtained personal (JSON) data for a specific user. 
 
base class for asynchronous http websockets used for connecting to cloud services ...
 
Get all personal data for a specific user. 
 
constexpr char address[]
api.rapp.cloud -