mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-11-11 21:29:51 +01:00
Support multiple subscription identifiers in received messages.
Summary: - refactor property encoding - change user property type to be std::pair<std::string, std::string> Reviewers: ivica Reviewed By: ivica Subscribers: korina Differential Revision: https://repo.mireo.local/D27867
This commit is contained in:
@@ -41,8 +41,8 @@ public:
|
||||
/// \cond INTERNAL
|
||||
constexpr reason_code() : _code(0xff) {}
|
||||
|
||||
constexpr reason_code(uint8_t code, reason_codes::category cat)
|
||||
: _code(code), _category(cat)
|
||||
constexpr reason_code(uint8_t code, reason_codes::category cat) :
|
||||
_code(code), _category(cat)
|
||||
{}
|
||||
|
||||
constexpr explicit reason_code(uint8_t code) : _code(code) {}
|
||||
|
||||
Reference in New Issue
Block a user