CK.AspNet.WebSocketChannel
23.0.2
dotnet add package CK.AspNet.WebSocketChannel --version 23.0.2
NuGet\Install-Package CK.AspNet.WebSocketChannel -Version 23.0.2
<PackageReference Include="CK.AspNet.WebSocketChannel" Version="23.0.2" />
<PackageVersion Include="CK.AspNet.WebSocketChannel" Version="23.0.2" />
<PackageReference Include="CK.AspNet.WebSocketChannel" />
paket add CK.AspNet.WebSocketChannel --version 23.0.2
#r "nuget: CK.AspNet.WebSocketChannel, 23.0.2"
#:package CK.AspNet.WebSocketChannel@23.0.2
#addin nuget:?package=CK.AspNet.WebSocketChannel&version=23.0.2
#tool nuget:?package=CK.AspNet.WebSocketChannel&version=23.0.2
One WebSocket shared by every feature of an application: one anonymous socket per client, a process
singleton owning all the connections, and a {topic, message} envelope that tells each feature which
frames are its own.
Features never open a socket or mount an endpoint. They inject the manager and push, to one client through its connection or to all of them by broadcast. A feature working per connection subscribes there and has nothing to unsubscribe on close. Topics form one flat namespace: name it after its package - anything shorter eventually collides.
The socket carries no identity and no validator sees what arrives. Incoming frames are not decoded until something subscribes.
| 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
- CK.Abstractions (>= 31.0.2)
- CK.AspNet.WebSocket (>= 23.0.2)
- CK.PerfectEvent (>= 29.0.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CK.AspNet.WebSocketChannel:
| Package | Downloads |
|---|---|
|
CK.Observable.WebSocketWatcher
Package Description |
|
|
CK.AspNet.ActorChannel
Binds the connections of the application-wide WebSocket channel to their user, so a feature can signal one person on every socket bound to them - several tabs, several devices - knowing only a user identifier. |
GitHub repositories
This package is not used by any popular GitHub repositories.