microserve::http3_detail::BodyHolder struct

Response body whose lifetime is tied to the HTTP/3 stream.

nghttp3 reads the payload by pointer, so the buffer must outlive writes.

Public variables

std::string body
Response payload.
size_t offset
Bytes already handed to nghttp3.