Expand description
aeronet_io implementation using WebSockets for reliable-ordered data transfer over TCP between
peers, compatible with both native and WASM.
This uses tokio-tungstenite on native targets, and web-sys on WASM targets, for WebSocket
usage. The server implementation is only available on native targets.
§Feature flags
-
client— Enables theclientmodule. -
server— Enables theservermodule. -
self-signed(enabled by default) — Allows generating self-signed server certificates usingrcgen. -
document-features— Enable this when generating docs.
Modules§
- client
client - See
WebSocketClient. - session
- Implementation for WebSocket sessions.
Structs§
- JsError
- Error obtained from a JavaScript execution context.
- WebSocket
Runtime - Provides a platform-agnostic way to spawn futures for driving the WebSocket IO layer.