ResponseOptions

ResponseOptions

Experimental Class

Class Overview

class ResponseOptions {
  constructor({body, status, headers, statusText, type, url}?: ResponseOptionsArgs)
  
  
  body : string|Object|ArrayBuffer|Blob
  status : number
  headers : Headers
  url : string
  merge(options?: ResponseOptionsArgs) : ResponseOptions
}

Class Description

Creates a response options object to be optionally provided when instantiating a Response.

This class is based on the ResponseInit description in the 登录查看完整内容