Manual for OpenFLUID 2.1.11

Classes | Public Member Functions | List of all members
openfluid::utils::RESTClient Class Reference

#include <utils/RESTClient.hpp>

Classes

class  Reply
 
class  SSLConfiguration
 

Public Member Functions

 RESTClient ()
 
 ~RESTClient ()
 
void setBaseURL (const QString &URL)
 
QString getBaseURL () const
 
void setSSLConfiguration (const SSLConfiguration &Config)
 
void resetRawHeaders ()
 
void removeRawHeader (const QByteArray Key)
 
bool hasRawHeader (const QByteArray Key)
 
void addRawHeader (const QByteArray Key, const QByteArray Value)
 
SSLConfiguration getSSLConfiguration () const
 
Reply getResource (const QString &Path) const
 
Reply postResource (const QString &Path, const QString &Data) const
 
Reply putResource (const QString &Path, const QString &Data) const
 
Reply patchResource (const QString &Path, const QString &Data) const
 
Reply deleteResource (const QString &Path, const QString &Data) const
 

Constructor & Destructor Documentation

◆ RESTClient()

openfluid::utils::RESTClient::RESTClient ( )

◆ ~RESTClient()

openfluid::utils::RESTClient::~RESTClient ( )
inline

Member Function Documentation

◆ addRawHeader()

void openfluid::utils::RESTClient::addRawHeader ( const QByteArray  Key,
const QByteArray  Value 
)

◆ deleteResource()

Reply openfluid::utils::RESTClient::deleteResource ( const QString &  Path,
const QString &  Data 
) const

◆ getBaseURL()

QString openfluid::utils::RESTClient::getBaseURL ( ) const
inline

◆ getResource()

Reply openfluid::utils::RESTClient::getResource ( const QString &  Path) const

◆ getSSLConfiguration()

SSLConfiguration openfluid::utils::RESTClient::getSSLConfiguration ( ) const
inline

◆ hasRawHeader()

bool openfluid::utils::RESTClient::hasRawHeader ( const QByteArray  Key)

◆ patchResource()

Reply openfluid::utils::RESTClient::patchResource ( const QString &  Path,
const QString &  Data 
) const

◆ postResource()

Reply openfluid::utils::RESTClient::postResource ( const QString &  Path,
const QString &  Data 
) const

◆ putResource()

Reply openfluid::utils::RESTClient::putResource ( const QString &  Path,
const QString &  Data 
) const

◆ removeRawHeader()

void openfluid::utils::RESTClient::removeRawHeader ( const QByteArray  Key)

◆ resetRawHeaders()

void openfluid::utils::RESTClient::resetRawHeaders ( )

◆ setBaseURL()

void openfluid::utils::RESTClient::setBaseURL ( const QString &  URL)

◆ setSSLConfiguration()

void openfluid::utils::RESTClient::setSSLConfiguration ( const SSLConfiguration Config)
inline

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