MT Showcase SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Showcase::JSONServerServiceAPI Class Referenceabstract

JSON Server service API This service communicates with an external server and sends and receives JSON packages. More...

#include <JSONServerServiceAPI.hpp>

Public Member Functions

virtual folly::Future
< QJsonObject > 
requestJSON (const QJsonObject &json)=0
 Send a request to the configured server with the given JSON. More...
 

Detailed Description

JSON Server service API This service communicates with an external server and sends and receives JSON packages.

Member Function Documentation

virtual folly::Future<QJsonObject> Showcase::JSONServerServiceAPI::requestJSON ( const QJsonObject &  json)
pure virtual

Send a request to the configured server with the given JSON.

Returns the server's reply in JSON format