hyperlane-plugin-websocket 12.0.0

A WebSocket plugin for the Hyperlane framework, providing robust WebSocket communication capabilities and integrating with hyperlane-broadcast for efficient message dissemination.
Documentation
1
2
3
4
5
6
7
8
9
/// Represents the prefix for point-to-point broadcast keys.
///
/// This constant is used to construct unique keys for point-to-point WebSocket broadcasts.
pub(crate) const POINT_TO_POINT_KEY: &str = "ptp-";

/// Represents the prefix for point-to-group broadcast keys.
///
/// This constant is used to construct unique keys for point-to-group WebSocket broadcasts.
pub(crate) const POINT_TO_GROUP_KEY: &str = "ptg-";