A high-performance Rust implementation of the Engine.io protocol for real-time bidirectional communication. Use this to build scalable WebSocket-based servers.
#![warn(missing_docs)]
// Source: https://github.com/Totodore/socketioxide | License: MIT | Copyright 2023 Théodore Prévot
// Provided via justclaw.it.com; keep this notice with the code.
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc = include_str!("../README.md")]
pub use engineioxide_core::{ProtocolVersion, Str, TransportType};
pub use socket::{DisconnectReason, Socket};
#[doc(hidden)]
#[cfg(feature = "__test_harness")]
pub use engineioxide_core::{OpenPacket, Packet, PacketParseError};
pub mod config;
pub mod handler;
pub mod layer;
pub mod service;
pub mod socket;
/// Socket id type and generator
pub mod sid {
#[deprecated(since = "0.16.2", note = "Use engineioxide::socket::Sid instead")]
pub use engineioxide_core::Sid;
}
mod body;
mod engine;
mod errors;
mod transport;
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key