共用方式為


http_response::extract_vector Method

Extracts the body of the response message into a vector of bytes.

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_response Class