Appends a header (does not replace an existing one of the same name).
Header name (compact forms accepted).
Header value.
This instance, for chaining.
A shallow copy.
Removes all values of a header.
Header name.
This instance, for chaining.
Returns the ordered [name, value] entries (canonical names).
Returns the first value of a header, or undefined.
Header name (case-insensitive, compact accepted).
The first value, or undefined if absent.
Returns every value of a header in order.
Header name (case-insensitive, compact accepted).
All values (empty array if absent).
Whether a header is present.
Header name.
True if at least one value exists.
Sets a header, removing any existing values of the same name first.
Header name (compact forms accepted).
Header value.
This instance, for chaining.
An ordered, case-insensitive multimap of SIP headers.
Names are canonicalized (compact forms expanded, known headers title-cased) so lookups are name-insensitive while serialization stays tidy. A header may repeat (Via, Route, ...), so getAll returns every value in insertion order and get returns the first.
Since
1.0.3