Info
Version: | 1.0.3.13 |
Author(s): | Pedro Marques, Rui Oliveira |
Last Update: | Tuesday, December 21, 2021 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/NEL.MqttClient |
Install
Install-Package NEL.MqttClient
dotnet add package NEL.MqttClient
paket add NEL.MqttClient
NEL.MqttClient Download (Unzip the "nupkg" after downloading)
Dependencies
- MQTTnet(>= 3.0.13)
- Newtonsoft.Json(>= 12.0.3)
Tags
Usage example: Client = new MQTTClient(<settings>); Client.ClientConnected += (t, p) =>{ t.Subscribe<<your object>>(<topic>, (t, p) => { <code> }); }; The method handlig the NewMessage is a parameter of Subscribe.