Rename to multi_buffer, basic_multi_buffer (API Change):

These classes are renamed:

* streambuf to multi_buffer
* basic_streambuf to basic_multi_buffer
This commit is contained in:
Vinnie Falco committed 2017-05-09 07:23:07 -07:00
1 parent bef9ae11ea
commit 69259efe87
45 files changed
+744 -745

No files matched your search

+3 -3
View File
@@ -41,9 +41,9 @@ int main()
ws.write(boost::asio::buffer("Hello, world!"));
// Receive Secure WebSocket message, print and close using Beast
beast::streambuf sb;
beast::multi_buffer b;
beast::websocket::opcode op;
ws.read(op, sb);
ws.read(op, b);
ws.close(beast::websocket::close_code::normal);
std::cout << beast::buffers(sb.data()) << "\n";
std::cout << beast::buffers(b.data()) << "\n";
}