[mqtt-client] reason codes & properties documented

Summary: related to T12804

Reviewers: ivica

Reviewed By: ivica

Subscribers: miljen

Differential Revision: https://repo.mireo.local/D26113
This commit is contained in:
Korina Šimičević
2023-10-16 15:57:26 +02:00
parent 296e28da93
commit 22f1330fed
15 changed files with 497 additions and 268 deletions

View File

@ -24,7 +24,7 @@ void publish_qos0_tcp() {
c.async_publish<qos_e::at_most_once>(
"test/mqtt-test", "hello world with qos0!",
retain_e::no, publish_props {},
retain_e::no, publish_props{},
[&c](error_code ec) {
fmt::print("\terror_code: {}\n", ec.message());
c.cancel();