File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ integration with various other crates can be enabled via feature flags
56
56
57
57
## Messages vs Streaming
58
58
59
- WebSocket provides a message-oriented protocol, and this crate supports sending
60
- and receiving data in messages; protocols built on WebSocket are allowed to
61
- make message boundaries semantically significant. However, some users of
62
- WebSocket may want to treat the socket as a continuous stream of bytes. If you
63
- know the sending end does not place significance on message boundaries, and you
64
- want to process a stream of bytes without regard to those boundaries, try
65
- [ ` ws_stream_tungstenite ` ] ( https://crates.io/crates/ws_stream_tungstenite ) ,
66
- which builds upon this crate.
59
+ WebSocket provides a message-oriented protocol, and this crate primarily
60
+ supports sending and receiving data in messages; protocols built on WebSocket
61
+ are allowed to make message boundaries semantically significant. However, some
62
+ users of WebSocket may want to treat the socket as a continuous stream of
63
+ bytes. If you know the other end does not place significance on message
64
+ boundaries, and you want to process a stream of bytes without regard to those
65
+ boundaries, you can use the ` ByteReader ` and ` ByteWriter ` types provided by
66
+ this crate.
67
67
68
68
## Is it performant?
69
69
You can’t perform that action at this time.
0 commit comments