Skip to content

Asynchronous MQTT communication library based on Boost.Asio

License

Notifications You must be signed in to change notification settings

Meisterian/async_mqtt

 
 

Repository files navigation

async_mqtt

Asynchronous MQTT communication library.

Version 4.0.0 Actions Statuscodecov

This is Boost.Asio oriented asynchronous MQTT communication library. You can use async_mqtt to develop not only your MQTT client application but also your server (e.g. broker). Based on https://github.com/redboltz/mqtt_cpp experience, there are many improvements. See overview.

Document is https://github.com/redboltz/async_mqtt/blob/doc/README.adoc

Overview

API Reference

Boost.Asio style asynchronous APIs support

Completion Token is supported

I recommend using Stackless Coroutine (boost::asio::coroutine) because it can avoid deep nested callbacks and higher performance than boost::asio::use_future. C++20 Coroutine is also a good choice. It requires C++20 support. It is more elegant than Stackless Coroutine but a little bit slower than Stackless coroutine.

Requirement

  • Compiler: C++17 or later
  • Boost Libraries: 1.81.0 or later

About

Asynchronous MQTT communication library based on Boost.Asio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.4%
  • CSS 3.1%
  • CMake 1.4%
  • Other 0.1%