mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 05:17:26 +02:00
committed by
Mohammad Nejati
parent
e0a9da265f
commit
f8ff44d072
@ -43,6 +43,14 @@ namespace http {
|
|||||||
the chunk buffer sequence types @ref chunk_body, @ref chunk_crlf,
|
the chunk buffer sequence types @ref chunk_body, @ref chunk_crlf,
|
||||||
@ref chunk_header, and @ref chunk_last.
|
@ref chunk_header, and @ref chunk_last.
|
||||||
|
|
||||||
|
@note
|
||||||
|
|
||||||
|
Moving or copying the serializer after the first call to
|
||||||
|
@ref serializer::next results in undefined behavior. Try to heap-allocate
|
||||||
|
the serializer object if you need to move the serializer between multiple
|
||||||
|
async operations (for example, between a call to `async_write_header` and
|
||||||
|
`async_write`).
|
||||||
|
|
||||||
@tparam isRequest `true` if the message is a request.
|
@tparam isRequest `true` if the message is a request.
|
||||||
|
|
||||||
@tparam Body The body type of the message.
|
@tparam Body The body type of the message.
|
||||||
@ -189,10 +197,26 @@ private:
|
|||||||
bool more_ = false;
|
bool more_ = false;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// Constructor
|
/** Move Constructor
|
||||||
|
@note
|
||||||
|
|
||||||
|
Moving or copying the serializer after the first call to
|
||||||
|
@ref serializer::next results in undefined behavior. Try to heap-allocate
|
||||||
|
the serializer object if you need to move the serializer between multiple
|
||||||
|
async operations (for example, between a call to `async_write_header` and
|
||||||
|
`async_write`).
|
||||||
|
*/
|
||||||
serializer(serializer&&) = default;
|
serializer(serializer&&) = default;
|
||||||
|
|
||||||
/// Constructor
|
/** Copy Constructor
|
||||||
|
@note
|
||||||
|
|
||||||
|
Moving or copying the serializer after the first call to
|
||||||
|
@ref serializer::next results in undefined behavior. Try to heap-allocate
|
||||||
|
the serializer object if you need to move the serializer between multiple
|
||||||
|
async operations (for example, between a call to `async_write_header` and
|
||||||
|
`async_write`).
|
||||||
|
*/
|
||||||
serializer(serializer const&) = default;
|
serializer(serializer const&) = default;
|
||||||
|
|
||||||
/// Assignment
|
/// Assignment
|
||||||
|
Reference in New Issue
Block a user