| Home | Libraries | People | FAQ | More

###### http::chunk_body::chunk_body (1 of 4 overloads)

Constructor.

Synopsis

    chunk_body(
        ConstBufferSequence const& buffers);

Description

This constructs buffers representing a complete chunk with no chunk extensions and having the size and contents of the specified buffer sequence.

Parameters

Name | Description
--- | ---
`buffers` | A buffer sequence representing the chunk body. Although the buffers object may be copied as necessary, ownership of the underlying memory blocks is retained by the caller, which must guarantee that they remain valid while this object is in use.

See Also

https://tools.ietf.org/html/rfc7230#section-4.1