Rename to buffer_bytes

This commit is contained in:
Vinnie Falco committed 2019-03-05 11:09:53 -08:00
1 parent 6ccdcdf51d
commit 9f2b0ce1db
62 files changed
+206 -258

No files matched your search

+2 -2
View File
@@ -72,12 +72,12 @@ public:
stream<test::stream> ws{ioc_};
ws.auto_fragment(true);
ws.write_buffer_size(2048);
ws.write_buffer_bytes(2048);
ws.binary(false);
ws.read_message_max(1 * 1024 * 1024);
try
{
ws.write_buffer_size(7);
ws.write_buffer_bytes(7);
fail();
}
catch(std::exception const&)
+1 -1
View File
@@ -432,7 +432,7 @@ public:
ConstBufferSequence const& buffers)
{
buffer.commit(net::buffer_copy(
buffer.prepare(buffer_size(buffers)),
buffer.prepare(buffer_bytes(buffers)),
buffers));
}
+1 -1
View File
@@ -124,7 +124,7 @@ public:
[&](ws_type_t<deflateSupported>& ws)
{
ws.auto_fragment(false);
ws.write_buffer_size(16);
ws.write_buffer_bytes(16);
std::string const s(32, '*');
w.write(ws, net::buffer(s));
flat_buffer b;