RequestOptionsArgs
interface
deprecated
npm Package | @angular/http |
---|---|
Module | import { RequestOptionsArgs } from '@angular/http'; |
Source | http/src/interfaces.ts |
Deprecation Notes
use @angular/common/http instead
Interface Overview
interface RequestOptionsArgs { url?: string | null method?: string | RequestMethod | null search?: string | URLSearchParams | {...} params?: string | URLSearchParams | {...} 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–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/http/RequestOptionsArgs