RequestOptionsArgs

interface deprecated

Interface for options to construct a RequestOptions, based on RequestInit from the Fetch spec.

Deprecated: see https://angular.io/guide/http

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
}

Properties

Property Description
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–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/http/RequestOptionsArgs