hyperlane-plugin-websocket 21.12.0

A WebSocket plugin for the Hyperlane framework, providing robust WebSocket communication capabilities and integrating with hyperlane-broadcast for efficient message dissemination.
Documentation
mod broadcast_type;
mod websocket;
mod websocket_map;

use hyperlane_plugin_websocket::*;

use std::{
    collections::HashSet,
    convert::Infallible,
    net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr},
    num::{
        NonZeroI8, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI128, NonZeroIsize, NonZeroU8,
        NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU128, NonZeroUsize,
    },
    sync::OnceLock,
    time::Duration,
};

use {
    hyperlane::*,
    tokio::{spawn, sync::broadcast::error::RecvError, time::sleep},
    tokio_broadcast::*,
};