On this page
RequestOptionsArgs
interface
| npm Package | @angular/http | 
|---|---|
| Module | import { RequestOptionsArgs } from '@angular/http'; | 
     
| Source | http/src/interfaces.ts | 
Interface Overview
interface RequestOptionsArgs { 
  url?: string|null
  method?: string|RequestMethod|null
  search?: string|URLSearchParams|{[key: string]: any | any[]}|null
  params?: string|URLSearchParams|{[key: string]: any | any[]}|null
  headers?: Headers|null
  body?: any
  withCredentials?: boolean|null
  responseType?: ResponseContentType|null
}
  Description
Interface for options to construct a RequestOptions, based on RequestInit from the Fetch spec.
Members
url?: string|null
  method?: string|RequestMethod|null
  search?: string|URLSearchParams|{[key: string]: any | any[]}|null
  params?: string|URLSearchParams|{[key: string]: any | any[]}|null
  headers?: Headers|null
  body?: any
  withCredentials?: boolean|null
  responseType?: ResponseContentType|null
  © 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v4.angular.io/api/http/RequestOptionsArgs