http_request::body Method
Produces a stream which the caller may use to retrieve data from an incoming request.
concurrency::streams::istream body() const;
Return Value
A readable, open asynchronous stream.
Remarks
This cannot be used in conjunction with any other means of getting the body of the request. It is not necessary to wait until the message has been sent before starting to write to the stream, but it is advisable to do so, since it will allow the network I/O to start earlier and the work of sending data can be overlapped with the production of more data.
Requirements
Header: http_msg.h
Namespace: web::http