mirror of
https://github.com/boostorg/beast.git
synced 2025-08-01 22:04:34 +02:00
committed by
Mohammad Nejati
parent
2216adc013
commit
d3afd7fad6
@@ -852,6 +852,14 @@ public:
|
|||||||
req.body() = "Hello, world!";
|
req.body() = "Hello, world!";
|
||||||
req.prepare_payload();
|
req.prepare_payload();
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
|
@note This function is not necessary to call in
|
||||||
|
the following situations:
|
||||||
|
|
||||||
|
@li The request doesn't contain a body, such as
|
||||||
|
in a GET or HEAD request.
|
||||||
|
|
||||||
|
@li The Content-Length and Transfer-Encoding are set manually.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
prepare_payload()
|
prepare_payload()
|
||||||
|
Reference in New Issue
Block a user