NRP Core  1.4.1
RestClientSetup Class Reference

Singleton. Class to setup RestClient and initialize features such as timeouts, authentications, ... More...

#include <restclient_setup.h>

Public Member Functions

 ~RestClientSetup ()
 
 RestClientSetup (const RestClientSetup &)=delete
 
 RestClientSetup (RestClientSetup &&)=delete
 
RestClientSetupoperator= (const RestClientSetup &)=delete
 
RestClientSetupoperator= (RestClientSetup &&)=delete
 

Static Public Member Functions

static RestClientSetupgetInstance ()
 Get RestClientSetup instance. Returns nullptr if not yet initialized. More...
 
static RestClientSetupresetInstance ()
 Resets RestClientSetup. More...
 
static RestClientSetupensureInstance ()
 Ensure that RestClientSetup has been initialized. More...
 

Detailed Description

Singleton. Class to setup RestClient and initialize features such as timeouts, authentications, ...

Constructor & Destructor Documentation

◆ ~RestClientSetup()

RestClientSetup::~RestClientSetup ( )

◆ RestClientSetup() [1/2]

RestClientSetup::RestClientSetup ( const RestClientSetup )
delete

◆ RestClientSetup() [2/2]

RestClientSetup::RestClientSetup ( RestClientSetup &&  )
delete

Member Function Documentation

◆ ensureInstance()

RestClientSetup * RestClientSetup::ensureInstance ( )
static

Ensure that RestClientSetup has been initialized.

◆ getInstance()

RestClientSetup * RestClientSetup::getInstance ( )
static

Get RestClientSetup instance. Returns nullptr if not yet initialized.

◆ operator=() [1/2]

RestClientSetup& RestClientSetup::operator= ( const RestClientSetup )
delete

◆ operator=() [2/2]

RestClientSetup& RestClientSetup::operator= ( RestClientSetup &&  )
delete

◆ resetInstance()

RestClientSetup * RestClientSetup::resetInstance ( )
static

Resets RestClientSetup.


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