Seuraa.Edge 0.1.1

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

Seuraa Edge .NET Client

The .NET 10 client connects .NET applications to Seuraa Edge using one shared WebSocket for all active channels.

Install

dotnet add package Seuraa.Edge

Create A Client

using Seuraa.Edge;

await using var edge = new Client(new ClientOptions
{
    AppKey = "app-key",
    Auth = new Uri("https://api.example.com/seuraa/token"),
});

Subscribe

var channel = edge.Channel("private:user-123");

using var subscription = channel.Subscribe<Notification>(
    "notification.created",
    notification => Console.WriteLine(notification.Data.Title));

Disposing the subscription removes only that handler. Call channel.UnsubscribeAsync() to leave the channel.

Publish

var result = await channel.PublishAsync(
    "typing.started",
    new { documentId = "document-123" });

The client reconnects with jittered exponential backoff and resumes each active channel from its latest event cursor.

Trusted Backend

Use EdgeServerClient only in trusted backend code:

using var edge = new EdgeServerClient(new EdgeServerClientOptions
{
    AppKey = configuration["Seuraa:AppKey"]!,
    AppSecret = configuration["Seuraa:AppSecret"]!,
});

var session = edge.Auth.SignIn(new EdgeSignInRequest
{
    Channel = $"private:{user.Id}",
    Permissions = ["subscribe"],
    UserId = user.Id,
});

Trusted backends can also publish, query presence, and revoke channel tokens through edge.Channels and edge.Auth.

Product 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. 
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.1.1 30 6/15/2026
0.1.0 37 6/15/2026