W3cubDocs

/Angular 4 TypeScript

RequestOptionsArgs

Experimental Interface

Interface Overview

interface RequestOptionsArgs {
  url : string
  method : string|RequestMethod
  search : string|URLSearchParams|{[key: string]: any | any[]}
  params : string|URLSearchParams|{[key: string]: any | any[]}
  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|{[key: string]: any | any[]}
params : string|URLSearchParams|{[key: string]: any | any[]}
headers : Headers
body : any
withCredentials : boolean
responseType : ResponseContentType

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

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