Share via


http_headers::content_type Method

Gets the content type of the message.

_ASYNCRTIMP utility::string_t content_type() const;

Return Value

The content type of the body.

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_headers Class