mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-07-30 12:37:36 +02:00
Fix missing boost namespace in README
Summary: related to T12804, closes #6 Reviewers: iljazovic Reviewed By: iljazovic Subscribers: miljen Differential Revision: https://repo.mireo.local/D27933
This commit is contained in:
@ -71,7 +71,7 @@ int main() {
|
|||||||
|
|
||||||
c.credentials("<your-client-id>", "<client-username>", "<client-pwd>")
|
c.credentials("<your-client-id>", "<client-username>", "<client-pwd>")
|
||||||
.brokers("<your-mqtt-broker>", 1883)
|
.brokers("<your-mqtt-broker>", 1883)
|
||||||
.async_run(asio::detached);
|
.async_run(boost::asio::detached);
|
||||||
|
|
||||||
c.async_publish<async_mqtt5::qos_e::at_most_once>(
|
c.async_publish<async_mqtt5::qos_e::at_most_once>(
|
||||||
"<topic>", "Hello world!",
|
"<topic>", "Hello world!",
|
||||||
|
Reference in New Issue
Block a user