共用方式為


http_response::headers Method

Gets the headers of the response message.

http_headers &headers();

const http_headers &headers() const;

Return Value

HTTP headers for this response.

Remarks

Use the to fill in desired headers.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_response Class