Compartir a través de


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

See Also

Reference

http_headers Class