aim_server_sse 0.1.1
aim_server_sse: ^0.1.1 copied to clipboard
Server-Sent Events (SSE) support for aim_server with real-time streaming capabilities.
aim_server_sse #
Server-Sent Events (SSE) support for the Aim framework.
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.