aim_server_sse

Server-Sent Events (SSE) support for the Aim framework.

Documentation | pub.dev

Overview

aim_server_sse provides Server-Sent Events functionality for the Aim framework, enabling real-time server-to-client streaming. It offers a simple and intuitive API for sending text and JSON events with support for event types, IDs, retry intervals, keep-alive, and automatic connection cleanup. Inspired by Hono's SSE helper.

Installation

dependencies:
  aim_server: ^0.0.6
  aim_server_sse: ^0.0.1

Documentation

For detailed usage, examples, and API reference, see the documentation.

Libraries

aim_server_sse
Server-Sent Events (SSE) support for the Aim framework.