mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-10-04 12:50:54 +02:00
[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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user