The documentation states that boost::beast::websocket::stream satisfies AsyncWriteStream yet this is not possible, because Beast's async_write_some requires a boolean parameter:
https://www.boost.org/doc/libs/master/libs/beast/doc/html/beast/ref/boost__beast__websocket__stream/async_write_some.html