Spec-Zone.ru › Angular 2

RequestOptionsArgs

Experimental Interface

Обзор интерфейса

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

Описание интерфейса

Интерфейс для опций построения объекта RequestOptions, основанный на RequestInit из спецификации Fetch.

Подробности интерфейса

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

экспортировано из @angular/http/index, определено в @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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API