| Home | Libraries | People | FAQ | More

###### http::chunk_header::chunk_header (1 of 5 overloads)

Constructor.

<h7> Synopsis </h7>

    chunk_header(
        std::size_t size);

<h7> Description </h7>

This constructs a buffer sequence representing a chunked-body size and terminating CRLF (`"\r\n"`) with no chunk extensions.

<h7> Parameters </h7>

Name | Description
--- | ---
`size` | The size of the chunk body that follows. The value must be greater than zero.

<h7> See Also </h7>

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