workflow-websocket 0.1.1

WebSocket crate (client and server) with a uniform native and in-browser async Rust API
Documentation
## WORKFLOW-WEBSOCKET

Part of the [WORKFLOW-RS](https://github.com/workflow-rs) application framework.

***

Platform-neutral WebSocket Client and Native Server

[![Crates.io](https://img.shields.io/crates/l/workflow-websocket.svg?maxAge=2592000)](https://crates.io/crates/workflow-websocket)
[![Crates.io](https://img.shields.io/crates/v/workflow-websocket.svg?maxAge=2592000)](https://crates.io/crates/workflow-websocket)
![platform](https://img.shields.io/badge/platform-Native/client-informational)
![platform](https://img.shields.io/badge/platform-Native/server-informational)
![platform](https://img.shields.io/badge/platform-Web/client%20%28wasm32%29-informational)

## Features

* Uniform async Rust WebSocket client API that functions in the browser environment (backed by browser `WebSocket` class) as well as on native platforms (backed by [Tungstenite]https://crates.io/crates/async-tungstenite client).
* Trait-based WebSocket server API backed by [Tungstenite]https://crates.io/crates/async-tungstenite server.

This crate allows you to develop a WebSocket client that will work uniformly in in hte native environment and in-browser.

Workflow-WebSocket crate is currently (as of Q3 2022) one of the few available async Rust client-side in-browser WebSocket implementations.

This web socket crate offers an async message send API as well as provides access to Receive and Send async_std channels that can be used to send and receive WebSocket messages asynchronously.