Response

Response

Experimental Class

Class Overview

class Response extends Body {
  constructor(responseOptions: ResponseOptions)
  
  
  type : ResponseType
  ok : boolean
  url : string
  status : number
  statusText : string
  bytesLoaded : number
  totalBytes : number
  headers : Headers
  toString() : string
}

Class Description

Creates Response instances from provided values.

Though this object isn't usually instantiated by end-users, it is the primary object interacted with when it comes time to add data to a view.

Example

http.r