ResponseOptionsArgs

interface deprecated

npm Package @angular/http
Module import { ResponseOptionsArgs } from '@angular/http';
Source http/src/interfaces.ts

Deprecation Notes

use @angular/common/http instead

Interface Overview

interface ResponseOptionsArgs { 
  body?: string | Object | FormData | ArrayBuffer | Blob | null
  status?: number | null
  statusText?: string | null
  headers?: Headers | null
  type?: ResponseType | null
  url?: string | null
}

Description

Interface for options to construct a Response, based on ResponseInit from the Fetch spec.

Members

body?: string | Object | FormData | ArrayBuffer | Blob | null

status?: number | null

statusText?: string | null

headers?: Headers | null

type?: ResponseType | null

url?: string | null

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/http/ResponseOptionsArgs