mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-11-06 19:01:38 +01:00
Summary: related to T12804 - fixes in publisher and receiver examples - update year to 2024 - remove extra documentation link in README - remove unnecessary copyright & license section, it is automatically generated from 00_main.qbk Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D27889
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
[section:examples Examples]
|
|
The main class in __Self__ is __Client__, and the upcoming examples will briefly explain how to use it.
|
|
|
|
The first examples will show two common uses of an MQTT client: as the publisher and as the receiver.
|
|
|
|
* [link async_mqtt5.examples.publisher The publisher]
|
|
* [link async_mqtt5.examples.receiver The receiver]
|
|
|
|
The following section will show how to use different underlying transport protocols (such as TCP, SSL and WebSocket)
|
|
to establish a connection to a MQTT Broker.
|
|
|
|
* [link async_mqtt5.examples.network_connection Establishing a network connection with different protocols]
|
|
|
|
The final section will showcase how to use asynchronous functions in __Client__
|
|
with different __CompletionToken__.
|
|
|
|
* [link async_mqtt5.examples.completion_tokens Completion tokens]
|
|
* [link async_mqtt5.examples.callbacks Async functions with callbacks]
|
|
* [link async_mqtt5.examples.cpp20_coroutines Async functions with C++20 coroutines]
|
|
* [link async_mqtt5.examples.futures Async functions with futures]
|
|
|
|
[include examples/Tutorial.qbk]
|
|
[include examples/Network_connection.qbk]
|
|
[include examples/Completion_tokens.qbk]
|
|
|
|
[endsect]
|