• Compression Streams API
  • Console and Debugging
  • DOM APIs
  • DOM Events
  • Encoding API
  • Fetch API
  • Fleek Node API
  • Observability
  • Scheduling
  • Streams API
  • Timers
  • Typed Arrays
  • Web APIs
  • Web Crypto API
  • Web File API
  • WebAssembly
  • WebGPU
  • WebSockets
  • Uncategorized
  • view all 376 symbols
  • Fleek Runtime APIs
  • Fetch API
    • Response
interface Response
extends Body

This Fetch API interface represents the response to a request.

Properties

readonly
headers: Headers
readonly
ok: boolean
readonly
redirected: boolean
readonly
status: number
readonly
statusText: string
readonly
type: ResponseType
readonly
url: string

Methods

clone(): Response
variable Response

This Fetch API interface represents the response to a request.

Properties

readonly
prototype: Response

Methods

json(
data: unknown,
init?: ResponseInit,
): Response
error(): Response
redirect(
url: string | URL,
status?: number,
): Response

Document Navigation

  • Properties
    • headers
    • ok
    • redirected
    • status
    • statusText
    • type
    • url
  • Methods
    • clone
  • Properties
    • prototype
  • Methods
    • json
    • error
    • redirect