http_headers::set_content_type Method
Sets the content type of the message.
_ASYNCRTIMP void set_content_type(
utility::string_t type
);
Parameters
- type
The content type of the body.
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 type of the message.
_ASYNCRTIMP void set_content_type(
utility::string_t type
);
Header: http_msg.h
Namespace: web::http