.. index:: pair: class; RestClientSetup .. _doxid-class_rest_client_setup: class RestClientSetup ===================== .. toctree:: :hidden: Overview ~~~~~~~~ Singleton. Class to setup RestClient and initialize features such as timeouts, authentications, ... :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class RestClientSetup { public: // construction :target:`RestClientSetup`(const RestClientSetup&); :target:`RestClientSetup`(RestClientSetup&&); // methods RestClientSetup& :target:`operator =` (const RestClientSetup&); RestClientSetup& :target:`operator =` (RestClientSetup&&); static RestClientSetup* :ref:`getInstance`(); static RestClientSetup* :ref:`resetInstance`(); static RestClientSetup* :ref:`ensureInstance`(); }; .. _details-class_rest_client_setup: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Singleton. Class to setup RestClient and initialize features such as timeouts, authentications, ... Methods ------- .. index:: pair: function; getInstance .. _doxid-class_rest_client_setup_1a0f0adcbb50b57c33d33f24678855ccbf: .. ref-code-block:: cpp :class: doxyrest-title-code-block static RestClientSetup* getInstance() Get :ref:`RestClientSetup ` instance. Returns nullptr if not yet initialized. .. index:: pair: function; resetInstance .. _doxid-class_rest_client_setup_1a13812a6d75dad3e3f6b0dd2cae698a4e: .. ref-code-block:: cpp :class: doxyrest-title-code-block static RestClientSetup* resetInstance() Resets :ref:`RestClientSetup `. .. index:: pair: function; ensureInstance .. _doxid-class_rest_client_setup_1a96401412f5adae77c25910b73539fc8c: .. ref-code-block:: cpp :class: doxyrest-title-code-block static RestClientSetup* ensureInstance() Ensure that :ref:`RestClientSetup ` has been initialized.