Share via


http_headers::operator Operator

Returns a reference to header field with given name, if there is no header field one is inserted.

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

Parameters

  • name

Requirements

Header: http_msg.h

Namespace: web::http

See Also

Reference

http_headers Class