Request

Request

Experimental Class

Class Overview

class Request extends Body {
  constructor(requestOptions: RequestArgs)
  
  
  method : RequestMethod
  headers : Headers
  url : string
  withCredentials : boolean
  responseType : ResponseContentType
  detectContentType() : ContentType
  detectContentTypeFromBody() : ContentType
  getBody() : any
}

Class Description

Creates Request instances from provided values.

The Request's interface is inspired by the Request constructor defined in the Fetch Spec, but is consid