CP.AspNetCore.SignalR.Client.Rx
1.1.4
See the version list below for details.
dotnet add package CP.AspNetCore.SignalR.Client.Rx --version 1.1.4
NuGet\Install-Package CP.AspNetCore.SignalR.Client.Rx -Version 1.1.4
<PackageReference Include="CP.AspNetCore.SignalR.Client.Rx" Version="1.1.4" />
<PackageVersion Include="CP.AspNetCore.SignalR.Client.Rx" Version="1.1.4" />
<PackageReference Include="CP.AspNetCore.SignalR.Client.Rx" />
paket add CP.AspNetCore.SignalR.Client.Rx --version 1.1.4
#r "nuget: CP.AspNetCore.SignalR.Client.Rx, 1.1.4"
#:package CP.AspNetCore.SignalR.Client.Rx@1.1.4
#addin nuget:?package=CP.AspNetCore.SignalR.Client.Rx&version=1.1.4
#tool nuget:?package=CP.AspNetCore.SignalR.Client.Rx&version=1.1.4
CP.AspNetCore.SignalR.Client.Rx
Reactive Extensions for Microsoft.AspNetCore.SignalR.Client
Installation
Install-Package CP.AspNetCore.SignalR.Client.Rx
Usage
using CP.AspNetCore.SignalR.Client.Rx;
var connection = new HubConnectionBuilder()
.WithUrl("http://localhost:5000/hub")
.AutoReconnect()
.Build();
var sub = connection.On<string>("Stream").Subscribe(Console.WriteLine);
var con = connection.StartAsync().Subscribe();
Other options
HubBuilder.Create(builder => builder.WithUrl("https://localhost:53933/ChatHub"))
.Subscribe(x =>
{
var connection = x.hubConnection;
x.disposables.Add(connection.On<string, string>("ReceiveMessage").Subscribe(responce => Dispatcher.Invoke(() =>
{
var newMessage = $"{responce.t1}: {responce.t2}";
messagesList.Items.Add(newMessage);
})));
x.disposables.Add(connection.HasClosed().Subscribe(error => Dispatcher.Invoke(() =>
{
connectButton.IsEnabled = true;
sendButton.IsEnabled = false;
messagesList.Items.Add(error);
})));
x.disposables.Add(connectButton.Events().Click.Start(connection).Subscribe(_ => Dispatcher.Invoke(() =>
{
try
{
messagesList.Items.Add("Connection started");
connectButton.IsEnabled = false;
sendButton.IsEnabled = true;
}
catch (Exception ex)
{
messagesList.Items.Add(ex.Message);
}
})));
x.disposables.Add(sendButton.Events().Click.Subscribe(_ => Dispatcher.Invoke(async () =>
{
try
{
await connection.InvokeAsync("SendMessage", userTextBox.Text, messageTextBox.Text);
}
catch (Exception ex)
{
messagesList.Items.Add(ex.Message);
}
})));
});
Available operators
On<T>(string methodName)On<T1, T2>(string methodName)On<T1, T2, T3>(string methodName)On<T1, T2, T3, T4>(string methodName)On<T1, T2, T3, T4, T5>(string methodName)On<T1, T2, T3, T4, T5, T6>(string methodName)On<T1, T2, T3, T4, T5, T6, T7>(string methodName)On<T1, T2, T3, T4, T5, T6, T7, T8>(string methodName)HasClosed()HasReconnected()IsReconnecting()StartObservable()StartObservable(CancellationToken cancellationToken)Start()Start(CancellationToken cancellationToken)Start(HubConnection connection)Start(HubConnection connection, CancellationToken cancellationToken)StopObservable()StreamObservable()InvokeAsync(string methodName, params object[] args)HubBuilder.Create(builder => // Configure Builder)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.AspNetCore.SignalR.Client (>= 8.0.5)
- System.Reactive (>= 6.0.1)
-
.NETStandard 2.0
- Microsoft.AspNetCore.SignalR.Client (>= 8.0.5)
- System.Reactive (>= 6.0.1)
-
net8.0
- Microsoft.AspNetCore.SignalR.Client (>= 8.0.5)
- System.Reactive (>= 6.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CP.AspNetCore.SignalR.Client.Rx:
| Package | Downloads |
|---|---|
|
SignalRChatClient
An Extension of the Microsoft.AspNetCore.SignalR.Client library |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.5 | 269 | 9/18/2025 |
| 1.3.2 | 178 | 9/10/2025 |
| 1.2.17 | 569 | 3/25/2025 |
| 1.2.11 | 137 | 1/16/2025 |
| 1.2.2 | 163 | 11/20/2024 |
| 1.1.15 | 231 | 9/18/2024 |
| 1.1.10 | 164 | 8/7/2024 |
| 1.1.8 | 183 | 6/25/2024 |
| 1.1.4 | 194 | 5/24/2024 |
| 1.1.2 | 180 | 5/24/2024 |
| 1.0.41 | 211 | 3/12/2024 |
| 1.0.24 | 244 | 1/10/2024 |
| 1.0.20 | 183 | 1/9/2024 |
| 1.0.19 | 178 | 1/9/2024 |
| 1.0.17 | 246 | 12/11/2023 |
| 1.0.15 | 194 | 11/27/2023 |
| 1.0.14 | 186 | 11/27/2023 |
| 1.0.13 | 145 | 11/27/2023 |
| 1.0.11 | 163 | 11/13/2023 |
| 1.0.9 | 173 | 11/8/2023 |
| 1.0.8 | 175 | 11/8/2023 |
| 1.0.7 | 154 | 11/8/2023 |
| 1.0.5 | 188 | 10/2/2023 |
| 1.0.1 | 197 | 9/20/2023 |
Compatability with Net 6 / 7 and net462