Skip to content

Commit 224b47a

Browse files
joshtriplettsdroege
authored andcommitted
README.md: Update to account for ByteReader and ByteWriter
1 parent 6aa5fe4 commit 224b47a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ integration with various other crates can be enabled via feature flags
5656

5757
## Messages vs Streaming
5858

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.
6767

6868
## Is it performant?
6969

0 commit comments

Comments
 (0)