[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ć committed 2023-11-03 14:15:35 +01:00
1 parent 7e60e7a919
commit c8036c0d46
11 files changed
+301 -48

No files matched your search

+10 -5
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();