Aggregator for responses to requests. More...
Public Member Functions | |
constexpr | response_aggregator (context &ctx) noexcept |
void * | allocate (const std::size_t n) |
Allocates n bytes for storing a response. | |
Aggregator for responses to requests.
It aggregates responses in an internal buffer until the latter is flushed, either because it is full or because of an explicit flush.