A type that extends the Header class.
Constructs a new instance of the class.
The parent PropertyList instance or undefined if there is no parent.
An array of items of Header to initialize the list with.
Protected_ProtectedlistProtectedparentProtectedtypeOptionalprune: booleanCalculates the total size of all headers in the list.
This method maps each header to its string representation, calculates the length of each string, and sums up the lengths to determine the total size.
The total size of all headers as a number.
Optional_value: anyOptionalbefore: numberOptionalafter: numberStaticisDetermines if the given object is a HeaderList.
The object to check.
true if the object is a HeaderList, otherwise false.
Staticis
Represents a list of headers, extending the functionality of
PropertyList. This class provides methods to manage and interact with a collection of headers.