Sanet.Transport.Rx
1.8.0
dotnet add package Sanet.Transport.Rx --version 1.8.0
NuGet\Install-Package Sanet.Transport.Rx -Version 1.8.0
<PackageReference Include="Sanet.Transport.Rx" Version="1.8.0" />
<PackageVersion Include="Sanet.Transport.Rx" Version="1.8.0" />
<PackageReference Include="Sanet.Transport.Rx" />
paket add Sanet.Transport.Rx --version 1.8.0
#r "nuget: Sanet.Transport.Rx, 1.8.0"
#:package Sanet.Transport.Rx@1.8.0
#addin nuget:?package=Sanet.Transport.Rx&version=1.8.0
#tool nuget:?package=Sanet.Transport.Rx&version=1.8.0
Sanet.Transport.Rx
Reactive Extensions implementation of the Sanet.Transport abstractions.
Overview
Sanet.Transport.Rx provides an implementation of the ITransportPublisher interface using Reactive Extensions (Rx.NET), enabling reactive programming patterns for message passing.
Features
- Reactive programming model with Rx.NET
- Efficient message handling with observable streams
- Compatible with all Rx operators for advanced message processing
Installation
dotnet add package Sanet.Transport.Rx
Or via the Package Manager Console:
Install-Package Sanet.Transport.Rx
Usage
// Create a Rx transport publisher
ITransportPublisher publisher = new RxTransportPublisher();
// Subscribe to messages
publisher.Subscribe(message => {
Console.WriteLine($"Received message: {message.CommandType}");
// Process the message
});
// Publish a message
publisher.PublishMessage(new TransportMessage {
CommandType = "SomeCommand",
SourceId = Guid.NewGuid(),
Payload = "{\"key\": \"value\"}",
Timestamp = DateTime.UtcNow
});
Connection State
ConnectionState is Connected from construction until the publisher is disposed, at which
point it becomes Closed and ConnectionStateChanged fires once. Message activity never
changes the reported state.
License
This project is licensed under the MIT License - see the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Sanet.Transport (>= 1.8.0)
- System.Reactive (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Sanet.Transport.Rx:
| Package | Downloads |
|---|---|
|
Sanet.MakaMek.Core
An Attempt of Classic BattleTech game implementation. Game Logic |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.8.0 | 7,489 | 9/30/2026 |
| 1.7.2 | 107 | 9/29/2026 |
| 1.7.1 | 104 | 9/29/2026 |
| 1.7.0 | 4,041 | 8/28/2026 |
| 1.6.0 | 2,322 | 8/26/2026 |
| 1.5.1 | 708 | 8/22/2026 |
| 1.5.0 | 128 | 8/22/2026 |
| 1.4.2 | 702 | 8/18/2026 |
| 1.4.1 | 315 | 8/17/2026 |
| 1.4.0 | 244 | 8/16/2026 |
| 1.3.2 | 114 | 8/15/2026 |
| 1.3.1 | 127 | 8/15/2026 |
| 1.3.0 | 221 | 8/13/2026 |
| 1.2.0 | 144 | 8/13/2026 |
| 1.1.1 | 2,220 | 7/24/2026 |
| 1.1.0 | 14,026 | 5/17/2026 |
| 1.0.2 | 23,933 | 3/31/2025 |
| 1.0.1 | 240 | 3/28/2025 |
| 1.0.0 | 334 | 3/27/2025 |
| 0.2.0 | 256 | 3/26/2025 |