共用方式為


http_headers::content_type 方法

取得訊息的內容類型。

_ASYNCRTIMP utility::string_t content_type() const;

傳回值

內文的內容類型。

需求

**標頭:**http_msg.h

**命名空間:**web::http

請參閱

參考

http_headers 類別