RequestOptionsArgs

Experimental Interface

Interface Overview

interface RequestOptionsArgs {
  url : string
  method : string|RequestMethod
  search : string|URLSearchParams
  headers : Headers
  body : any
  withCredentials : boolean
  responseType : ResponseContentType
}

Interface Description

Interface for options to construct a RequestOptions, based on RequestInit from the Fetch spec.

Interface Details

url : string
method : string|RequestMethod
search : string|URLSearchParams
headers : Headers
body : any
withCredentials : boolean
responseType : ResponseContentType

exported from @angular/http/index, defined in @angular/http/src/interfaces.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/http/index/RequestOptionsArgs-interface.html