RAPP Platform API
Main Page
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
fetch_data.cpp
Go to the documentation of this file.
1
/*
5
int main ( int argc, char* argv[] )
6
{
7
rapp::services::service_controller ctrl;
8
auto callback = [&]( const std::string json ){ std::cout << "JSON: " << json << std::endl;};
9
auto fetchHandle = std::make_shared<rapp::cloud::fetchPersonalData>( "alex", callback );
10
// Create the fetch Data handler, and pass it the username and a callback that will receive the reply.
11
if ( fetchHandle )
12
{
13
// Request from service controller to run this job
14
ctrl.runJob ( fetchHandle );
15
}
16
return 0;
17
}
18
*/
cpp
examples
fetch_data.cpp
Generated on Fri Jul 29 2016 18:45:01 for RAPP Platform API by
1.8.6