共用方式為


http_headers::operator[] 運算子

傳回具有指定名稱的標頭欄位的參考,如果沒有標頭欄位則插入一個。

utility::string_t & operator[](
   const key_type &name
);

參數

  • name

需求

**標頭:**http_msg.h

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

請參閱

參考

http_headers 類別