AsyncRead / AsyncWrite for WebsocketStream?
black-binary opened this issue · 1 comments
black-binary commented
AsyncRead/AsyncWrite traits didn't implement for WebSocketStream. Is there any plan for this?
sdroege commented
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