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
_Protected
listProtected
parentProtected
typeOptional
prune: 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: anyOptional
before: numberOptional
after: numberStatic
isDetermines if the given object is a HeaderList.
The object to check.
true
if the object is a HeaderList, otherwise false
.
Static
is
Represents a list of headers, extending the functionality of
PropertyList
. This class provides methods to manage and interact with a collection of headers.