Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Headers

The Headers class as specified by WHATWG

Hierarchy

  • Headers

Methods

  • [iterator](): Iterator<[string, string], any, undefined>
  • Returns Iterator<[string, string], any, undefined>

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

    • name: string
    • value: string

    Returns void

  • delete(name: string): void
  • Parameters

    • name: string

    Returns void

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

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

    • callbackfn: function
        • (value: string, key: string, parent: Headers): void
        • Parameters

          • value: string
          • key: string
          • parent: Headers

          Returns void

    • Optional thisArg: any

    Returns void

  • get(name: string): null | string
  • Parameters

    • name: string

    Returns null | string

  • has(name: string): boolean
  • Parameters

    • name: string

    Returns boolean

  • keys(): IterableIterator<string>
  • Returns IterableIterator<string>

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

    • name: string
    • value: string

    Returns void

  • values(): IterableIterator<[string]>
  • Returns IterableIterator<[string]>

Generated using TypeDoc