You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an open (albeit old) issue about that: #32
It is not possible to use Framed out-of-the-box, but it's possible to build such support by extracting certain bits out of tungstenite and implementing the Encoder and Decoder traits.
The main reason for this is that Framed does not have a complicated state machine, it's more about encoding/decoding things. Whereas with tungstenite we also manage the state machine that complies with the RFC.
If we were to extract the tungstenite's part of the message parsing in its own tungstenite-core, then building Framed on top of that would be quite trivial.
Hello @snapview
I would like to create - Framed<WebSocketStream<TlsStream>, BytesCodec>.
How to use
WebSocketStream<TlsStream<TcpStream>>
and Framed?The text was updated successfully, but these errors were encountered: