hyperlane-plugin-sse 23.3.2

A Server-Sent Events (SSE) streaming and topic pub/sub plugin for the Hyperlane framework with Last-Event-ID replay, heartbeat, and CRLF-safe event framing.
Documentation

hyperlane-plugin-sse

WHATWG Server-Sent Events (SSE) Streaming & Topic Pub/Sub Plugin

Crates.io Version Docs.rs CI Status Rust 2024 License: MIT

Workspace Overview · Plugin Catalog · API Docs


Overview

hyperlane-plugin-sse delivers WHATWG-compliant Server-Sent Events streaming, topic pub/sub fan-out, heartbeats, and Last-Event-ID replay buffers for hyperlane routes.

Installation

cargo add hyperlane-plugin-sse

Usage

use hyperlane_plugin_sse::{SseConfig, SsePlugin};

fn setup_sse() {
    SsePlugin::init(SseConfig::default());
}

Verification

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-sse --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-sse --all-features

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.