Skip to content

Commit

Permalink
[FOLD]
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniefalco committed Jul 4, 2016
1 parent df1c697 commit f3a5e9d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions include/beast/http/basic_headers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ class basic_headers
boost::string_ref
operator[](boost::string_ref const& name) const;

/** Clear the contents of the basic_headers. */
/// Clear the contents of the basic_headers.
void
clear() noexcept;

Expand All @@ -409,6 +409,7 @@ class basic_headers
is inserted into the container.
@param name The name of the field.
@param value A string holding the value of the field.
*/
void
Expand All @@ -421,6 +422,7 @@ class basic_headers
is inserted into the container.
@param name The name of the field
@param value The value of the field. The object will be
converted to a string using `boost::lexical_cast`.
*/
Expand All @@ -434,21 +436,23 @@ class basic_headers

/** Replace a field value.
The current field value, if any, is removed. Then the
specified value is inserted as if by `insert(field, value)`.
First removes any values with matching field names, then
inserts the new field value.
@param name The name of the field.
@param value A string holding the value of the field.
*/
void
replace(boost::string_ref const& name, boost::string_ref value);

/** Replace a field value.
The current field value, if any, is removed. Then the
specified value is inserted as if by `insert(field, value)`.
First removes any values with matching field names, then
inserts the new field value.
@param name The name of the field
@param value The value of the field. The object will be
converted to a string using `boost::lexical_cast`.
*/
Expand Down

0 comments on commit f3a5e9d

Please sign in to comment.