mimekit-ts - v1.0.0
    Preparing search index...

    Class HeaderListCollection

    Represents a collection of header-list groups.

    Implements

    Index
    onChanged: (() => void) | null = null

    Invoked when the collection changes.

    • Replaces the header group at the specified index.

      Parameters

      • index: number

        The index.

      • headers: HeaderList

        The replacement header group.

      Returns void

      headers is null or undefined.

      index is out of range.

    • Determines whether the collection contains the specified header group.

      Parameters

      Returns boolean

      true if the group is contained; otherwise, false.

      headers is null or undefined.

    • Copies the header groups to an array.

      Parameters

      • array: HeaderList[]

        The destination array.

      • arrayIndex: number

        The index into the array.

      Returns void

      array is null or undefined.

      arrayIndex is out of range or the array is too small.

    • Removes a header group.

      Parameters

      Returns boolean

      true if the group was removed; otherwise, false.

      headers is null or undefined.