From dacef743534f0e7bd7f9e26e85d2830c70473212 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Mon, 11 Dec 2023 23:05:42 +0900 Subject: [PATCH] Added missing comments for doxygen. --- include/async_mqtt/endpoint.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/async_mqtt/endpoint.hpp b/include/async_mqtt/endpoint.hpp index ab89c9f50..45c66cbe4 100644 --- a/include/async_mqtt/endpoint.hpp +++ b/include/async_mqtt/endpoint.hpp @@ -112,6 +112,16 @@ class basic_endpoint : public std::enable_shared_from_this::type; + /** + * @brief create + * @tparam Args Types for the next layer + * @param ver MQTT protocol version client can set v5 or v3_1_1, in addition + * server can set undetermined + * @param args args for the next layer. There are predefined next layer types: + * \n @link protocol::mqtt @endlink, @link protocol::mqtts @endlink, + * @link protocol::ws @endlink, and @link protocol::wss @endlink. + * @return shared_ptr of basic_endpoint. + */ template static std::shared_ptr create( protocol_version ver,