mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 14:54:32 +02:00
Spelling
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
|
||||
/** A buffer sequence adapter that shortens the sequence size.
|
||||
/** A buffer sequence adaptor that shortens the sequence size.
|
||||
|
||||
The class adapts a buffer sequence to efficiently represent
|
||||
a shorter subset of the original list of buffers starting
|
||||
|
@@ -195,7 +195,7 @@ boost::ignore_unused(ec);
|
||||
// message was in binary mode, otherwise we will send in text mode.
|
||||
ws.binary(ws.got_binary());
|
||||
|
||||
// This buffer adapter allows us to iterate through buffer in pieces
|
||||
// This buffer adaptor allows us to iterate through buffer in pieces
|
||||
buffers_suffix<multi_buffer::const_buffers_type> cb{buffer.data()};
|
||||
|
||||
// Echo the received message in pieces.
|
||||
@@ -210,7 +210,7 @@ boost::ignore_unused(ec);
|
||||
// the stream that the message is not complete.
|
||||
ws.write_some(false, buffers_prefix(512, cb));
|
||||
|
||||
// This efficiently discards data from the adapter by
|
||||
// This efficiently discards data from the adaptor by
|
||||
// simply ignoring it, but does not actually affect the
|
||||
// underlying dynamic buffer.
|
||||
cb.consume(512);
|
||||
|
Reference in New Issue
Block a user