Options
All
  • Public
  • Public/Protected
  • All
Menu

Headers, roughly modeled after the fetch API's headers object.

Hierarchy

  • Headers

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private headerMap

headerMap: Map<string, string> = ...

Methods

get

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

    • name: string

    Returns null | string

set

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

    • name: string
    • value: string

    Returns void

toJSON

  • toJSON(): any
  • Returns any

Generated using TypeDoc