ws_stream

Crates.iows_stream
lib.rsws_stream
version0.0.1
sourcesrc
created_at2019-07-12 15:03:35.163728
updated_at2019-11-14 13:42:13.960655
descriptionProvide AsyncRead/AsyncWrite over WebSockets (both tokio and 0.3)
homepagehttps://github.com/najamelan/ws_stream
repositoryhttps://github.com/najamelan/ws_stream
max_upload_size
id148504
size5,450
Naja Melan (najamelan)

documentation

https://docs.rs/ws_stream

README

ws_stream

This crate has been split in several subcrates:

  • ws_stream_wasm: Creates an idiomatic Rust interface to the browser websocket API (in WASM) and provides AsyncRead/AsyncWrite enabling communication using framing with a codec and treating the connection as a generic TCP stream of bytes.
  • ws_stream_tungstenite: A layer on top of tokio-tungstenite that implements AsyncRead/AsyncWrite, enabling communication using framing with a codec and treating the connection as a generic TCP stream of bytes.

The purpose is to allow network libraries that can work on any AsyncRead/AsyncWrite to function over websockets.

Commit count: 47

cargo fmt