Skip to content

Commit

Permalink
Added missing comments for doxygen.
Browse files Browse the repository at this point in the history
  • Loading branch information
redboltz committed Dec 11, 2023
1 parent a14a9b4 commit dacef74
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/async_mqtt/endpoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@ class basic_endpoint : public std::enable_shared_from_this<basic_endpoint<Role,
/// @brief Type of MQTT Packet Identifier.
using packet_id_t = typename packet_id_type<PacketIdBytes>::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 <typename... Args>
static std::shared_ptr<this_type> create(
protocol_version ver,
Expand Down

0 comments on commit dacef74

Please sign in to comment.