In this project you will get the MQTT integration with multple Topics.
- Connect to the Broker
- Subscribe Topics
- Unsubscribe Topics
- Subscribe Multple Topics
- Disconnect Connections
- Get message in JSON
add Package Dependencies for the MQTT Client
.package(url: "https://github.com/sroebert/mqtt-nio.git", from: "2.0.0")