Hierarchy

Constructors

Accessors

Methods

Constructors

Accessors

  • get bodyUsed(): boolean
  • Check if the contents of the body have been consumed.

    Returns boolean

Methods

  • Returns Promise<ArrayBuffer>

  • Consume the contents of the body as JSON.

    Returns Promise<any>

  • Consume the contents of the body as text.

    Returns Promise<string>