[mqtt-client] added chapter on different ways to establish network connection

Summary:
related to T12804
	- added chapter on network connection
	- added code examples
	- remove any_authenticator from doc targets
	- manually create table of contents

Reviewers: ivica

Reviewed By: ivica

Subscribers: miljen, iljazovic

Differential Revision: https://repo.mireo.local/D26401
This commit is contained in:
Korina Šimičević
2023-11-03 13:40:03 +01:00
parent 7e60e7a919
commit c8036c0d46
11 changed files with 301 additions and 48 deletions

View File

@@ -85,13 +85,18 @@ public:
mqtt_client(context.get_executor(), cnf, std::move(tls_context))
{}
/// Move-construct an mqtt_client from another.
/** Moved-from client can only be destructed. */
/**
* \brief Move-construct an mqtt_client from another.
*
* \details Moved-from client can only be destructed
*/
mqtt_client(mqtt_client&& other) noexcept = default;
/// Move-assign an mqtt_client from another.
/** Cancels this client first.
* Moved-from client can only be destructed.
/**
* \brief Move assignment operator.
*
* \details Cancels this client first. Moved-from client can only be destructed.
*/
mqtt_client& operator=(mqtt_client&& other) noexcept {
cancel();