http_request::extract_vector Method

Extract the body of the response message into a vector of bytes. Extracting a vector can be done on

pplx::task<std::vector<unsigned char>> extract_vector() const;

Return Value

The body of the message as a vector of bytes.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_request Class