forked from boostorg/beast
write_buffer_size is a member of stream (API Change):
fix #446 * The write_buffer_size option struct is removed. Actions Required: * Change call sites which use write_buffer_size with set_option to call stream::write_buffer_size instead.
This commit is contained in:
@@ -206,7 +206,7 @@ boost::asio::ip::tcp::socket sock{ios};
|
||||
|
||||
//[ws_snippet_19
|
||||
ws.auto_fragment(true);
|
||||
ws.set_option(write_buffer_size{16384});
|
||||
ws.write_buffer_size(16384);
|
||||
//]
|
||||
|
||||
//[ws_snippet_20
|
||||
|
||||
Reference in New Issue
Block a user