ezsockets

Creating a WebSocket server or a client in Rust can be troublesome. This crate facilitates this process by providing:

Documentation

View the full documentation at docs.rs/ezsockets

Examples

Client

tokio-tungstenite is being used under the hood.

See examples/simple-client for a simple usage and docs.rs/ezsockets/server for documentation.

Server

WebSocket server can use one of supported back-ends: - tokio-tungstenite - the simplest way to get started. - axum - ergonomic and modular web framework built with Tokio, Tower, and Hyper - actix-web - Work in progress at #22

See examples/echo-server for a simple usage and docs.rs/ezsockets/server for documentation.