No gather interface for async_write
Open
Feature
- Dominant language
- C++
- Stars
- 4.8k
- Forks
- 694
- Avg merge
- 12h 48m
- Merged PRs (30d)
- 1
Description
This is a request for confirmation, but if confirmed, it would be a nice feature request.
At the Boost.Asio TCP level we have a "gather" interface which makes it possible to `async_write` data from multiple buffers at once - see Scatter/Gather here:
https://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/reference/buffer.html
However, at the WS level, there doesn't seem to be a way to do this. The WS `async_write` takes a `ConstBufferSequence` which may contain one message payload scattered across multiple buffers, is there a way to pass multiple message payloads in one function call? Apols if I am missing it.
Contributor guide
Assessment
This issue has not been assessed yet.