RequestOptionsArgs

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部