class RestClientSetup¶
Overview¶
Singleton. Class to setup RestClient and initialize features such as timeouts, authentications, … More…
#include <restclient_setup.h> class RestClientSetup { public: // construction RestClientSetup(const RestClientSetup&); RestClientSetup(RestClientSetup&&); // methods RestClientSetup& operator = (const RestClientSetup&); RestClientSetup& operator = (RestClientSetup&&); static RestClientSetup* getInstance(); static RestClientSetup* resetInstance(); static RestClientSetup* ensureInstance(); };
Detailed Documentation¶
Singleton. Class to setup RestClient and initialize features such as timeouts, authentications, …
Methods¶
static RestClientSetup* getInstance()
Get RestClientSetup instance. Returns nullptr if not yet initialized.
static RestClientSetup* resetInstance()
Resets RestClientSetup.
static RestClientSetup* ensureInstance()
Ensure that RestClientSetup has been initialized.