Scry.Client.SignalR 0.5.0

dotnet add package Scry.Client.SignalR --version 0.5.0
                    
NuGet\Install-Package Scry.Client.SignalR -Version 0.5.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="Scry.Client.SignalR" Version="0.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Scry.Client.SignalR" Version="0.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Scry.Client.SignalR" />
                    
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 Scry.Client.SignalR --version 0.5.0
                    
#r "nuget: Scry.Client.SignalR, 0.5.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 Scry.Client.SignalR@0.5.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=Scry.Client.SignalR&version=0.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Scry.Client.SignalR&version=0.5.0
                    
Install as a Cake Tool

Scry.Client.SignalR

A Scry client that sends queries over a SignalR hub connection rather than HTTP.

The reason to use it is live queries. Over a hub, every live query a page has open shares one connection. Over HTTP, each one is a separate request held open.

var connection = new HubConnectionBuilder()
    .WithUrl("https://example.com/api/query-hub")
    .WithAutomaticReconnect()
    .Build();
await connection.StartAsync();

var query = new ScryQuery(ScrySignalRClient.Create(connection));

Code written against a ScryClient works unchanged: the terminals, streaming, batching and live queries. A failure throws the same exception as it would over HTTP, so code that catches a rejection or a denial still catches it.

The caller builds, starts and disposes the connection. Per-query headers are an HTTP feature, so a query that carries them is refused, as it is over any custom transport. Attachments are still fetched over HTTP.

The server side is MapScryHub, from Scry.Server.SignalR.

Docs: Live queries

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.5.0 49 12/3/2026
0.4.0 96 11/20/2026
0.3.0 111 11/16/2026
0.2.0 97 11/7/2026
0.1.0 96 11/3/2026
0.1.0-beta.15 64 10/28/2026
0.1.0-beta.14 64 10/21/2026
0.1.0-beta.13 67 10/7/2026
0.1.0-beta.12 76 10/1/2026
0.1.0-beta.11 68 9/30/2026
0.1.0-beta.10 71 9/24/2026