Skip to content

v0.1.0 - First Stable Release

Latest

Choose a tag to compare

@mavidishu mavidishu released this 17 Jan 06:34
· 24 commits to main since this release
dad5e37

🎉 First Stable Release

PushStream is now production-ready with both server and client packages published.

📦 Packages

Package Version Install
PushStream.Core 0.1.0 dotnet add package PushStream.Core
PushStream.AspNetCore 0.1.0 dotnet add package PushStream.AspNetCore

✨ Features

  • Server-Sent Events abstraction - No more raw SSE handling
  • Connection management - Track clients by ID with built-in store
  • Event publishing - Broadcast to all or target specific clients
  • Heartbeat support - Keep connections alive automatically
  • ASP.NET Core integration - Simple AddPushStream() + MapEventStream()

🚀 Quick Start

sharp
// Program.cs
builder.Services.AddPushStream();

var app = builder.Build();
app.MapEventStream("/events");

// Publish from anywhere
app.MapPost("/notify", async (IEventPublisher publisher) =>
{
await publisher.PublishAsync("notification", new { message = "Hello!" });
});