Galosoft.IaaS.MQTTnet
25.1.16.2-nj
This is a prerelease version of Galosoft.IaaS.MQTTnet.
dotnet add package Galosoft.IaaS.MQTTnet --version 25.1.16.2-nj
NuGet\Install-Package Galosoft.IaaS.MQTTnet -Version 25.1.16.2-nj
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Galosoft.IaaS.MQTTnet" Version="25.1.16.2-nj" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Galosoft.IaaS.MQTTnet --version 25.1.16.2-nj
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Galosoft.IaaS.MQTTnet, 25.1.16.2-nj"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Galosoft.IaaS.MQTTnet as a Cake Addin #addin nuget:?package=Galosoft.IaaS.MQTTnet&version=25.1.16.2-nj&prerelease // Install Galosoft.IaaS.MQTTnet as a Cake Tool #tool nuget:?package=Galosoft.IaaS.MQTTnet&version=25.1.16.2-nj&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
QuickStart
services.AddMQTTnet();//MQTTnet galoS@2024-1-23 15:03:42
-------
using (var scope = _scopeFactory.CreateScope())
{
var sp = scope.ServiceProvider;
var serializer = sp.GetRequiredService<IObjectSerializer>();
var mqtt = sp.GetRequiredService<MqttTemplate>();
await mqtt.SubscribeAsync(async e =>
{
await Task.Delay(10);
}, "simple/topic", "simple/topic1", "simple/topic2");
while (true)
{
await Task.Delay(1000);
await mqtt.PublishAsync(new SpringBootMqTestRequest(1), "simple/topic");
await mqtt.PublishAsync(new SpringBootMqTestRequest(1), "simple/topic1");
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Galosoft.IaaS.Core (>= 25.1.16.2-nj)
- mqttnet (>= 4.3.3.952)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
25.1.16.2-nj | 35 | 1/16/2025 |