Construct from a collection of [name, value] pairs
Iterator. Allows for: let headers = new HttpHeaders(); ... for (const header of headers) { }
Add a name/value pair
The header value
Clears the entire header set
Gets the first value for the given name, ignoring any additional values
The first header value, or default if no values exist
Get the list of values for the given name
List of values, or empty list if none exist
Removes all values for the given name
Removes a specific name/value pair
The header value to remove
Set a name/value pair, replacing any existing values for the name
The header value
Generated using TypeDoc
A collection of HTTP headers