Beast Logo

PrevUpHomeNext

http::basic_fields::erase

Remove a field.

std::size_t
erase(
    boost::string_ref const& name);

If more than one field with the specified name exists, all matching fields will be removed.

Parameters

name

The name of the field(s) to remove.

Return Value

The number of fields removed.


PrevUpHomeNext