Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IHeadersMutable

Hierarchy

Index

Methods

__@iterator

  • __@iterator(): IterableIterator<[string, string]>

append

  • append(name: string, value: string): void
  • Parameters

    • name: string
    • value: string

    Returns void

delete

  • delete(name: string): void

entries

  • entries(): IterableIterator<[string, string]>

forEach

  • forEach(callback: function, thisArg?: any): void
  • Parameters

    • callback: function
        • (value: string, name: string): void
        • Parameters

          • value: string
          • name: string

          Returns void

    • Optional thisArg: any

    Returns void

get

  • get(name: string): string | null

has

  • has(name: string): boolean

keys

  • keys(): IterableIterator<string>

set

  • set(name: string, value: string): void
  • Parameters

    • name: string
    • value: string

    Returns void

values

  • values(): IterableIterator<string>