Crate workflow_websocket

Source
Expand description

github crates.io docs.rs license

workflow-websocket crate provides async websocket client and server interfaces. The client interface operates uniformally in native and in the browser-WASM environment.

This crate allows you to design APIs that work in regular native rust applications and function the same in the browser. If used as a foundation for APIs, this crate makes APIs portable, allowing their use in native/command-line/desktop applications and web-applications alike.

Modulesยง

client
async WebSocket client functionality (requires a browser (WASM) or tokio (native) executors)
server
async WebSocket server functionality (requires tokio executor)