hyperlane-plugin-websocket 22.12.0

A WebSocket plugin for the Hyperlane framework, providing robust WebSocket communication capabilities and integrating with hyperlane-broadcast for efficient message dissemination.
Documentation
<div align="center">

# hyperlane-plugin-websocket

**Room-Based WebSocket Broadcast Plugin**

[![crates.io](https://img.shields.io/crates/v/hyperlane-plugin-websocket.svg?style=flat-square)](https://crates.io/crates/hyperlane-plugin-websocket)
[![docs.rs](https://img.shields.io/docsrs/hyperlane-plugin-websocket?style=flat-square)](https://docs.rs/hyperlane-plugin-websocket)
[![Rust 2024](https://img.shields.io/badge/edition-2024-orange.svg?style=flat-square)](https://www.rust-lang.org)
[![License: MIT](https://img.shields.io/crates/l/hyperlane-plugin-websocket.svg?style=flat-square)](../../LICENSE)

[Workspace Overview](../../README.md) · [API Docs](https://docs.rs/hyperlane-plugin-websocket/latest/) · [Agent Engineering Rules](../../AGENTS.md)

</div>

---

## Overview

Opt-in WebSocket upgrade, room-keyed broadcast maps, ping/pong lifecycle hooks, and bounded frame/message reassembly.

This crate is a member of the [`hyperlane`](../../README.md) unified Rust 2024 workspace. All plugin crates are opt-in and transparent (`Status::Continue`) when unconfigured.

## Responsibilities & Module Layout

- `struct` / `static` / `impl` — `WebSocketConfig`, room broadcast manager, and lifecycle hooks

## Installation

```sh
cargo add hyperlane-plugin-websocket
```

## Verification

Run crate-scoped formatting, lint, and test gates from the workspace root:

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

## Documentation & Governance

- Update this `README.md` alongside any public API, plugin contract, or module-boundary change per [`../../AGENTS.md`]../../AGENTS.md.
- Project standards and release workflows live in [`../../.agents/skills/hyperlane/SKILL.md`]../../.agents/skills/hyperlane/SKILL.md.

## License

This project is licensed under the MIT License. See the [LICENSE](../../LICENSE) file for details.

## Contact

For inquiries, please contact the author at [root@devhub.vip](mailto:root@devhub.vip).