Skip to content

Treat a websocket as an AsyncRead/AsyncWrite (server side)

License

Notifications You must be signed in to change notification settings

najamelan/ws_stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Treat a websocket as an AsyncRead/AsyncWrite (server side)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages