http_headers::set_content_length Method
Sets the content length of the message.
_ASYNCRTIMP void set_content_length(
size_t length
);
Parameters
- length
The length of the content.
Requirements
Header: http_msg.h
Namespace: web::http
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sets the content length of the message.
_ASYNCRTIMP void set_content_length(
size_t length
);
Header: http_msg.h
Namespace: web::http