MQTTnet.Rx.Client 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MQTTnet.Rx.Client --version 3.0.0
                    
NuGet\Install-Package MQTTnet.Rx.Client -Version 3.0.0
                    
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="MQTTnet.Rx.Client" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MQTTnet.Rx.Client" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="MQTTnet.Rx.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MQTTnet.Rx.Client --version 3.0.0
                    
#r "nuget: MQTTnet.Rx.Client, 3.0.0"
                    
#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.
#:package MQTTnet.Rx.Client@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MQTTnet.Rx.Client&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=MQTTnet.Rx.Client&version=3.0.0
                    
Install as a Cake Tool

License Build

MQTTnet.Rx.Client

Nuget NuGet

MQTTnet.Rx.ABPlc

Nuget NuGet

MQTTnet.Rx.Modbus

Nuget NuGet

MQTTnet.Rx.S7Plc

Nuget NuGet

MQTTnet.Rx.SerialPort

Nuget NuGet

MQTTnet.Rx.TwinCAT

Nuget NuGet

Alt

<p align="left"> <a href="https://github.com/ChrisPulman/MQTTnet.Rx"> <img alt="MQTTnet.Rx" src="https://github.com/ChrisPulman/MQTTnet.Rx/blob/main/Images/logo.png" width="200"/> </a> </p>

MQTTnet.Rx.Client

A Reactive Client for MQTTnet Broker

NOTE: ManagedClient support has currently been removed from the MQTTnet.Rx.Client library. We will look into the possibility of adding this functionality in the future. This is due to the fact that the ManagedClient is no longer included in the MQTTnet V5 library.

Create a Mqtt Client to Publish an Observable stream

Create.MqttClient()
    .WithClientOptions(a => a.WithTcpServer("localhost", 9000))
    .PublishMessage(_message)
    .Subscribe(r => Console.WriteLine($"{r.ReasonCode} [{r.PacketIdentifier}]"));

Create a Mqtt Client to Subscribe to a Topic

Create.MqttClient()
    .WithClientOptions(a => a.WithTcpServer("localhost", 9000))
    .SubscribeToTopic("FromMilliseconds")
    .Subscribe(r => Console.WriteLine($"{r.ReasonCode} [{r.ApplicationMessage.Topic}] value : {r.ApplicationMessage.ConvertPayloadToString()}"));

MQTTnet.Rx.Server

A Reactive Server for MQTTnet Broker

Create a Mqtt Server

Create.MqttServer(builder =>
        builder
        .WithDefaultEndpointPort(2883)
        .WithDefaultEndpoint()
        .Build())
      .Subscribe();
Product 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 is compatible.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on MQTTnet.Rx.Client:

Package Downloads
MQTTnet.Rx.Modbus

Reactive extensions for MQTTnet Broker

MQTTnet.Rx.TwinCAT

Reactive extensions for MQTTnet Broker

MQTTnet.Rx.S7Plc

Reactive extensions for MQTTnet Broker

MQTTnet.Rx.ABPlc

Reactive extensions for MQTTnet Broker

MQTTnet.Rx.SerialPort

Reactive extensions for MQTTnet Broker

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.0 320 1/22/2025
3.0.0 156 1/17/2025
2.3.0 585 10/20/2024
2.2.3 323 9/12/2024
2.2.2 319 9/9/2024
2.2.1 441 9/7/2024
2.2.0 341 9/6/2024
2.1.1 315 8/16/2024
2.0.1 414 3/19/2024
1.3.1 446 12/26/2023
1.2.2 511 10/16/2023
1.2.1 340 10/15/2023
1.1.1 387 9/7/2023
1.1.0 510 8/19/2023
1.0.0 281 7/5/2023
0.9.1 219 6/11/2023
0.9.0 465 4/25/2023
0.9.0-g916413e22f 143 6/24/2023
0.8.0 780 3/18/2023
0.7.0 1,532 1/1/2023
0.6.0 526 12/6/2022
0.5.0 1,201 10/29/2022
0.4.0 963 8/8/2022
0.3.0 1,003 8/2/2022
0.2.0 452 7/31/2022
0.1.2 442 7/28/2022
0.1.1 450 7/28/2022

Compatability with Net 8 / 9