sdroege/async-tungstenite

AsyncRead / AsyncWrite for WebsocketStream?

Closed this issue · 1 comments

AsyncRead/AsyncWrite traits didn't implement for WebSocketStream. Is there any plan for this?

WebSockets are a message-based protocol, that's why WebSocketStream implements Stream and Sink around a message type.

There's however a crate implementing AsyncRead/AsyncWrite: https://crates.io/crates/ws_stream_tungstenite